Skip to content

Commit

Permalink
--subject arg not required
Browse files Browse the repository at this point in the history
  • Loading branch information
BarryTik committed Oct 19, 2023
1 parent 72ecbfd commit d8a1a58
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/get_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,13 @@ def get_params(stage_names):
"See BIDS-Apps specification.")
)

# Required flag arguments
# Optional flag arguments
parser.add_argument(
"-participant", "--subject", "-sub", "--participant-label",
dest="participant_label", type=valid_subj_ses_ID, required=True,
dest="participant_label", type=valid_subj_ses_ID,
help=("The participant's unique subject identifier, without 'sub-' "
"prefix. Example: 'ABC12345'") # TODO Make BIBSnet able to accept with OR without 'sub-' prefix
)

# Optional flag arguments
parser.add_argument(
"-age", "-months", "--age-months", type=valid_whole_number,
help=("Positive integer, the participant's age in months. For "
Expand Down

0 comments on commit d8a1a58

Please sign in to comment.