diff --git a/src/geomtools/sfx/xwizio.py b/src/geomtools/sfx/xwizio.py index 1930f5bbb735bf5bde06a3f7c645c36933aeebab..4743a2f8e420d0453a8ad489019376ad19be5e39 100644 --- a/src/geomtools/sfx/xwizio.py +++ b/src/geomtools/sfx/xwizio.py @@ -26,7 +26,9 @@ def parse_xwiz_summary(filename): else: group[key] = val - cell_path = xwiz_conf["unit_cell"]["file"] + cell_path = xwiz_conf["unit_cell"].get("file_path") + if cell_path is None: + cell_path = xwiz_conf["unit_cell"].get("file") cell_name = os.path.basename(cell_path) summary = "" for line in f: