Skip to content
Snippets Groups Projects
Commit c3c208d3 authored by Egor Sobolev's avatar Egor Sobolev
Browse files

Fix xwiz unit_cell file parameter name

parent 2fc40dd7
No related branches found
No related tags found
1 merge request!1Add reading and writing mask in crystfel file
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment