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):
116
116
/ f'{ session_str } _g{ gate_str } _imec{ probe_str } '
117
117
/ f'{ session_str } _g{ gate_str } _t{ trig_str } .imec{ probe_str } .ap.bin' )
118
118
continuous_file_symlink .parent .mkdir (parents = True , exist_ok = True )
119
+ continuous_file_symlink .unlink (missing_ok = False )
119
120
continuous_file_symlink .symlink_to (continuous_file )
120
121
input_meta_fullpath_symlink = (input_meta_fullpath .parent / f'{ session_str } _g{ gate_str } '
121
122
/ f'{ session_str } _g{ gate_str } _imec{ probe_str } '
122
123
/ f'{ session_str } _g{ gate_str } _t{ trig_str } .imec{ probe_str } .ap.meta' )
123
124
input_meta_fullpath_symlink .parent .mkdir (parents = True , exist_ok = True )
125
+ input_meta_fullpath_symlink .unlink (missing_ok = False )
124
126
input_meta_fullpath_symlink .symlink_to (input_meta_fullpath )
125
127
126
128
createInputJson (self ._catGT_input_json .as_posix (),
You can’t perform that action at this time.
0 commit comments