Closed yangsunhwang closed 1 year ago
Sorry, I ran into another error while processing franklab_nwb_generation. Could you help me out with this?
I have 'cameraHWSync' files in data path but not cameraHWFrameCount files. My trodes_rec_export_args is below;
trodes_rec_export_args = ('-reconfig','/home/yshwang/yaml/Livermore_D2_128ch_4s_6mm_15um_Spikegadgets_2164X2_H70_NWB_conversion.xml') --------------------------------------------------------------------------- builder = RawToNWBBuilder(animal_name=animal_name, data_path=data_path, dates=dates, nwb_metadata=metadata, overwrite=overwrite, output_path=output_path, video_path=video_path, trodes_rec_export_args = trodes_rec_export_args) --------------------------------------------------------------------------- FileNotFoundError Traceback (most recent call last) /tmp/ipykernel_3737993/2486487710.py in <module> 6 output_path=output_path, 7 video_path=video_path, ----> 8 trodes_rec_export_args = trodes_rec_export_args) ~/source/rec_to_nwb/rec_to_nwb/processing/tools/beartype/beartype.py in func_beartyped(__beartype_func, *args, **kwargs) ~/source/rec_to_nwb/rec_to_nwb/processing/builder/raw_to_nwb_builder.py in __init__(self, data_path, animal_name, dates, nwb_metadata, output_path, video_path, preprocessing_path, extract_analog, extract_spikes, extract_lfps, extract_dio, extract_mda, overwrite, lfp_export_args, mda_export_args, analog_export_args, dio_export_args, time_export_args, spikes_export_args, parallel_instances, trodes_rec_export_args) 158 self.trodes_rec_export_args = trodes_rec_export_args 159 --> 160 self.is_old_dataset = self.__is_old_dataset() 161 162 def __repr__(self): ~/source/rec_to_nwb/rec_to_nwb/processing/builder/raw_to_nwb_builder.py in __is_old_dataset(self) 201 return True 202 raise FileNotFoundError( --> 203 'need either cameraHWSync or cameraHWFrameCount files.') 204 205 def build_nwb(self, run_preprocessing=True, FileNotFoundError: need either cameraHWSync or cameraHWFrameCount files.
Problem was naming of the cameraHWSync file.
Sorry, I ran into another error while processing franklab_nwb_generation. Could you help me out with this?
I have 'cameraHWSync' files in data path but not cameraHWFrameCount files. My trodes_rec_export_args is below;