Skip to content
Snippets Groups Projects
Commit 91a619c9 authored by nbeliy's avatar nbeliy
Browse files

improved readme

parent b7e66250
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -80,12 +80,14 @@ def SubjectEP(scan):
# This will demonstrate the subject renaming
# namely increasing the id by 1
"""
sub_id = int(scan.subject[4:])
scan.subject = "sub-{:03d}".format(sub_id + 1)
# changing also in participant.tsv file
if scan.sub_values["paired"]:
pair_id = int(scan.sub_values["paired"][4:])
scan.sub_values["paired"] = "sub-{:03d}".format(pair_id + 1)
"""
#################################
# Subject metadata manipulation #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment