Commit bdb875a0 authored by Joanne Hugé's avatar Joanne Hugé

Always allow user to input metadata

parent 7aa27106
...@@ -378,10 +378,12 @@ class MeasureSet: ...@@ -378,10 +378,12 @@ class MeasureSet:
if cyclictest: if cyclictest:
data = MeasureSet.parse_cyclictest(infile) data = MeasureSet.parse_cyclictest(infile)
data['metadata'] = self.input_metadata()
else: else:
data = json.load(infile) data = json.load(infile)
self.metadata.update(data['metadata'])
data['metadata'] = self.input_metadata()
measure_type = data['measure_type'] measure_type = data['measure_type']
units = data['units'] units = data['units']
metadata = data['metadata'] metadata = data['metadata']
......
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