@@ -787,16 +787,14 @@ def map_data2D_hxn(
787787 logger .info ("Plan type: '%s'" , start_doc ["plan_type" ])
788788
789789 if "scan" in start_doc :
790- #print(" panda scan ")
790+ # print(" panda scan ")
791791 plan_type = start_doc ["scan" ]["type" ]
792792
793793 else :
794794 plan_type = start_doc ["plan_type" ]
795795
796-
797-
798796 # Exclude certain types of plans based on data from the start document
799- #later change to look for 1D scan based on motor length
797+ # later change to look for 1D scan based on motor length
800798 if isinstance (skip_scan_types , (list , tuple )) and plan_type in skip_scan_types :
801799 raise RuntimeError (
802800 f"Failed to load the scan: plan type { start_doc ['plan_type' ]!r} is in the list of skipped types"
@@ -944,15 +942,15 @@ def map_data2D_hxn(
944942
945943 keylist = hdr .descriptors [0 ].data_keys .keys ()
946944 det_list = [v for v in keylist if "xspress3" in v ] # find xspress3 det with key word matching
947- det_list = [v for v in det_list if len (v )== 12 ] # added to filter out other rois added by user
945+ det_list = [v for v in det_list if len (v ) == 12 ] # added to filter out other rois added by user
948946 scaler_list_all = config_data ["scaler_list" ]
949947
950948 all_keys = hdr .descriptors [0 ].data_keys .keys ()
951949 scaler_list = [v for v in scaler_list_all if v in all_keys ]
952950
953951 fields = det_list + scaler_list + pos_list
954952
955- try : # load data with hdf5, faster
953+ try : # load data with hdf5, faster
956954 data_out = map_data2D_HDF5 (
957955 hdr ,
958956 datashape ,
0 commit comments