Commit a6b87f0c authored by Thomas Vincent's avatar Thomas Vincent

fix beam_energy loading

parent 3f2eff8c
......@@ -684,7 +684,7 @@ class QSpaceConverter(object):
if beam_energy is None:
# Load it from entries
beam_energy = [scan_p['beam_energy'] for scan_p in params]
beam_energy = [scan_p['beam_energy'] for scan_p in params.values()]
if None in beam_energy:
raise ValueError(
'Missing beam energy: {0}'.format(beam_energy))
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment