File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
element_array_ephys/readers Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -116,11 +116,13 @@ def generate_CatGT_input_json(self):
116116 / f'{ session_str } _g{ gate_str } _imec{ probe_str } '
117117 / f'{ session_str } _g{ gate_str } _t{ trig_str } .imec{ probe_str } .ap.bin' )
118118 continuous_file_symlink .parent .mkdir (parents = True , exist_ok = True )
119+ continuous_file_symlink .unlink (missing_ok = False )
119120 continuous_file_symlink .symlink_to (continuous_file )
120121 input_meta_fullpath_symlink = (input_meta_fullpath .parent / f'{ session_str } _g{ gate_str } '
121122 / f'{ session_str } _g{ gate_str } _imec{ probe_str } '
122123 / f'{ session_str } _g{ gate_str } _t{ trig_str } .imec{ probe_str } .ap.meta' )
123124 input_meta_fullpath_symlink .parent .mkdir (parents = True , exist_ok = True )
125+ input_meta_fullpath_symlink .unlink (missing_ok = False )
124126 input_meta_fullpath_symlink .symlink_to (input_meta_fullpath )
125127
126128 createInputJson (self ._catGT_input_json .as_posix (),
You can’t perform that action at this time.
0 commit comments