Skip to content

Commit 9463421

Browse files
committed
fix linter errors
1 parent a9ca7a6 commit 9463421

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

cubids/workflows.py

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,7 @@ def validate(
210210
val_tsv = str(output_prefix) + "_validation.tsv"
211211

212212
else:
213-
val_tsv = (
214-
str(bids_dir)
215-
+ "/code/CuBIDS/"
216-
+ str(output_prefix)
217-
+ "_validation.tsv"
218-
)
213+
val_tsv = str(bids_dir) + "/code/CuBIDS/" + str(output_prefix) + "_validation.tsv"
219214

220215
parsed.to_csv(val_tsv, sep="\t", index=False)
221216

@@ -354,12 +349,7 @@ def _link_or_copy(src_path, dst_path):
354349
if abs_path_output:
355350
val_tsv = str(output_prefix) + "_validation.tsv"
356351
else:
357-
val_tsv = (
358-
str(bids_dir)
359-
+ "/code/CuBIDS/"
360-
+ str(output_prefix)
361-
+ "_validation.tsv"
362-
)
352+
val_tsv = str(bids_dir) + "/code/CuBIDS/" + str(output_prefix) + "_validation.tsv"
363353

364354
parsed.to_csv(val_tsv, sep="\t", index=False)
365355

0 commit comments

Comments
 (0)