Adjust the name of cell parameters
This way we avoid overwritting gamma in case of nb zebra mode
This commit is contained in:
parent
96eaa27e55
commit
9140798c74
@ -114,6 +114,8 @@ def parse_1D(fileobj, data_type):
|
|||||||
elif variable in META_VARS_FLOAT:
|
elif variable in META_VARS_FLOAT:
|
||||||
if variable == "2-theta": # fix that angle name not to be an expression
|
if variable == "2-theta": # fix that angle name not to be an expression
|
||||||
variable = "twotheta"
|
variable = "twotheta"
|
||||||
|
if variable in ("a", "b", "c", "alpha", "beta", "gamma"):
|
||||||
|
variable += "_cell"
|
||||||
metadata[variable] = float(value)
|
metadata[variable] = float(value)
|
||||||
|
|
||||||
elif variable in META_UB_MATRIX:
|
elif variable in META_UB_MATRIX:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user