diff --git a/atom_evaluation/scripts/other_calibrations/rwhe_calib_ali.py b/atom_evaluation/scripts/other_calibrations/rwhe_calib_ali.py new file mode 100755 index 00000000..bd1478f1 --- /dev/null +++ b/atom_evaluation/scripts/other_calibrations/rwhe_calib_ali.py @@ -0,0 +1,27 @@ +#!/usr/bin/env python3 + +import argparse +import json + +def main(): + + # Parse command line arguments + ap = argparse.ArgumentParser() + ap.add_argument("-json", "--json_file", type=str, required=True, + help="Json file containing input dataset.") + args = vars(ap.parse_args()) + + json_file = args['json_file'] + + # Read dataset file + f = open(json_file, 'r') + dataset = json.load(f) + + # Close dataset file + f.close() + + print(dataset) + + +if __name__ == '__main__': + main() \ No newline at end of file