We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 769dece commit e53fa06Copy full SHA for e53fa06
nipype/algorithms/misc.py
@@ -894,6 +894,13 @@ def _run_interface(self, runtime):
894
if self._have_lock:
895
self._lock.release()
896
897
+ # Using nipype.external.portalocker this might be something like:
898
+ # with pl.Lock(self.inputs.in_file, timeout=1) as fh:
899
+ # if op.exists(fh):
900
+ # formerdf = pd.read_csv(fh, index_col=0)
901
+ # df = pd.concat([formerdf, df], ignore_index=True)
902
+ # df.to_csv(fh)
903
+
904
return runtime
905
906
def _list_outputs(self):
0 commit comments