Skip to content

Commit

Permalink
Option --reset-all-benchmarks does not work with openPMD
Browse files Browse the repository at this point in the history
  • Loading branch information
EZoni committed Aug 4, 2023
1 parent c5b1ebe commit b630f89
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Regression/Checksum/checksumAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ def reset_all_benchmarks(path_to_all_output_files, output_format):
do_fields=args.do_fields, do_particles=args.do_particles)

if args.reset_all_benchmarks:
# WARNING: this mode does not support skip-fields/particles
# and tolerances
# TODO Need to define naming convention for openPMD output
if args.output_format == 'openpmd':
sys.exit('Option --reset-all-benchmarks does not work with openPMD format')
# WARNING: this mode does not support skip-fields/particles and tolerances
reset_all_benchmarks(args.path_to_all_output_files, args.output_format)

0 comments on commit b630f89

Please sign in to comment.