Skip to content

Commit da42fed

Browse files
authored
modified naming of shell script used in apply function, to be saved into BIDS dir, as expected
1 parent a26089a commit da42fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cubids/cubids.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ def apply_tsv_changes(self, summary_tsv, files_tsv, new_prefix, raise_on_error=T
416416

417417
full_cmd = "\n".join(merge_commands + move_ops)
418418
if full_cmd:
419-
renames = new_prefix + "_full_cmd.sh"
419+
renames = str(Path(self.path) / (new_prefix + "_full_cmd.sh"))
420420

421421
# write full_cmd to a .sh file
422422
with open(renames, "w") as fo:

0 commit comments

Comments
 (0)