Skip to content

Commit e2223bb

Browse files
committed
ENH: just followed some linting suggestion here
1 parent ac0164a commit e2223bb

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
@@ -766,7 +766,7 @@ def infotoids(seqinfos: Iterable[SeqInfo], outdir: str) -> dict[str, Optional[st
766766
# Generally it is a ^ but if entered manually, ppl place space in it
767767
split = re.split("[ ^]", study_description, maxsplit=1)
768768
# split first one even more, since could be PI_Student or PI-Student
769-
split = re.split("-|_", split[0], maxsplit=1) + split[1:]
769+
split = re.split("[-_]", split[0], maxsplit=1) + split[1:]
770770

771771
# locator = study_description.replace('^', '/')
772772
locator = "/".join(split)

0 commit comments

Comments
 (0)