Skip to content

Commit

Permalink
Update cubids.py
Browse files Browse the repository at this point in the history
  • Loading branch information
smeisler authored Dec 23, 2024
1 parent d9f5fc0 commit 333654a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cubids/cubids.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ def apply_tsv_changes(self, summary_tsv, files_tsv, new_prefix, raise_on_error=T
if Path(from_file).exists():
# if using datalad, we want to git mv instead of mv
if self.use_datalad:
move_ops.append(f"git mv {from_file} {to_file}")
move_ops.append(f"git mv {os.path.relpath(from_file,str(self.path))} {to_file}")
else:
move_ops.append(f"mv {from_file} {to_file}")

Expand Down

0 comments on commit 333654a

Please sign in to comment.