Skip to content

Commit 1215a2c

Browse files
committed
ENH: just followed some linting suggestion here
1 parent fc22c92 commit 1215a2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heudiconv/heuristics/reproin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ def infotoids(seqinfos: Iterable[SeqInfo], outdir: str) -> dict[str, Optional[st
744744
# Generally it is a ^ but if entered manually, ppl place space in it
745745
split = re.split("[ ^]", study_description, maxsplit=1)
746746
# split first one even more, since could be PI_Student or PI-Student
747-
split = re.split("-|_", split[0], maxsplit=1) + split[1:]
747+
split = re.split("[-_]", split[0], maxsplit=1) + split[1:]
748748

749749
# locator = study_description.replace('^', '/')
750750
locator = "/".join(split)

0 commit comments

Comments
 (0)