File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
element_array_ephys/readers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,13 +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
+ continuous_file_symlink .unlink (missing_ok = True )
120
120
continuous_file_symlink .symlink_to (continuous_file )
121
121
input_meta_fullpath_symlink = (input_meta_fullpath .parent / f'{ session_str } _g{ gate_str } '
122
122
/ f'{ session_str } _g{ gate_str } _imec{ probe_str } '
123
123
/ f'{ session_str } _g{ gate_str } _t{ trig_str } .imec{ probe_str } .ap.meta' )
124
124
input_meta_fullpath_symlink .parent .mkdir (parents = True , exist_ok = True )
125
- input_meta_fullpath_symlink .unlink (missing_ok = False )
125
+ input_meta_fullpath_symlink .unlink (missing_ok = True )
126
126
input_meta_fullpath_symlink .symlink_to (input_meta_fullpath )
127
127
128
128
createInputJson (self ._catGT_input_json .as_posix (),
You can’t perform that action at this time.
0 commit comments