Commit 28cc3c1a authored by Guang's avatar Guang Committed by Guang
Browse files

bug fixed when run without X-ray module

parent d03e2a66
......@@ -274,7 +274,9 @@ class Configuration(object):
sys.exit(1)
self.complete_redshifts()
self.complete_xray()
# Add alpha_ox parameters when xray module is used
if 'xray' in self.config.items()[2][1]:
self.complete_xray()
self.complete_analysed_parameters()
vdt = validate.Validator(validation.functions)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment