Raw data files not closed in meta scans
In waferprobing it came up that raw data files of all scans are apparently only closed once the script terminates. If you run a script that calls e.g. 89x5 scans, there will be 89x5 open files by the end of the script.
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_205018_threshold_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_211712_threshold_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_211628_digital_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181218_010429_threshold_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_153429_threshold_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181218_010351_digital_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_170358_digital_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181218_003555_threshold_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_212732_stuck_pixel_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_211648_analog_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_204954_analog_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_153315_stuck_pixel_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_170341_stuck_pixel_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_212800_analog_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_163356_stuck_pixel_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181218_003436_stuck_pixel_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_211620_stuck_pixel_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_153332_digital_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_212723_register_test.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_212819_threshold_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_215718_stuck_pixel_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181218_010410_analog_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_211609_register_test.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_153400_analog_scan.h5...done
/home/test-person/git/bdaq53/bdaq53/scans/output_data/20181217_212741_d
Edited by Michael Daas