Skip to content
Snippets Groups Projects

Draft: Add prototype for internal output validation

Open Philipp Schmidt requested to merge feat/output-validation into master
2 files
+ 23
1
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 7
0
@@ -50,6 +50,10 @@ def _parse_args(argv):
'excluded from the input data, by default all trains are '
'considered ')
ap.add_argument(
'--validate', action='store_true',
help='validate data found in output files with internal state')
for ep in iter_entry_points('exdf.data_reduction.method'):
ep.load().arguments(ap)
@@ -261,6 +265,9 @@ def main(argv=None):
log.info(f'Writing voview to {output_path.parent}')
writer.write_voview(output_path)
if args.validate:
writer.validate()
if __name__ == '__main__':
main()
Loading