Commit c6c5c5af authored by Guang's avatar Guang

bug fixed when run without X-ray module

parent 8af03066
......@@ -267,7 +267,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)
......
Markdown is supported
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