Commit 79a08c53 authored by Mathieu Giraud's avatar Mathieu Giraud

latex.py: check concordance of timestamps between .vidjil and .analysis

parent 1b98c9c9
......@@ -39,6 +39,12 @@ def main():
ii = 'data.vidjil/' + 'pat-' + i_short +'.analysis'
data_analysis = analysis.Analysis()
data_analysis.load(ii)
if str(data_analysis.d['samples']['run_timestamp']) == str(data.d['samples'].d['run_timestamp']):
print("%% timestamps: OK")
else:
print("%% timestamps: XXX", i, data.d['samples'].d['run_timestamp'], "instead of", data_analysis.d['samples']['run_timestamp'])
else:
data_analysis = None
......
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