Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 30 additions & 15 deletions babs/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,12 @@ def babs_check_setup_cli():
parser.add_argument(
'--project_root',
'--project-root',
help='Absolute path to the root of BABS project.'
" For example, '/path/to/my_BABS_project/'.",
required=True,
help=(
'Absolute path to the root of BABS project. '
"For example, '/path/to/my_BABS_project/' "
'(default is current working directory).'
),
default=os.getcwd(),
)
parser.add_argument(
'--job_test',
Expand Down Expand Up @@ -355,9 +358,12 @@ def babs_submit_cli():
parser.add_argument(
'--project_root',
'--project-root',
help='Absolute path to the root of BABS project.'
" For example, '/path/to/my_BABS_project/'.",
required=True,
help=(
'Absolute path to the root of BABS project. '
"For example, '/path/to/my_BABS_project/' "
'(default is current working directory).'
),
default=os.getcwd(),
)

# --count, --job: can only request one of them
Expand Down Expand Up @@ -502,9 +508,12 @@ def babs_status_cli():
parser.add_argument(
'--project_root',
'--project-root',
help='Absolute path to the root of BABS project.'
" For example, '/path/to/my_BABS_project/'.",
required=True,
help=(
'Absolute path to the root of BABS project. '
"For example, '/path/to/my_BABS_project/' "
'(default is current working directory).'
),
default=os.getcwd(),
)
parser.add_argument(
'--resubmit',
Expand Down Expand Up @@ -736,9 +745,12 @@ def babs_merge_cli():
parser.add_argument(
'--project_root',
'--project-root',
help='Absolute path to the root of BABS project.'
" For example, '/path/to/my_BABS_project/'.",
required=True,
help=(
'Absolute path to the root of BABS project. '
"For example, '/path/to/my_BABS_project/' "
'(default is current working directory).'
),
default=os.getcwd(),
)
parser.add_argument(
'--chunk-size',
Expand Down Expand Up @@ -798,9 +810,12 @@ def babs_unzip_cli():
parser.add_argument(
'--project_root',
'--project-root',
help='Absolute path to the root of BABS project.'
" For example, '/path/to/my_BABS_project/'.",
required=True,
help=(
'Absolute path to the root of BABS project. '
"For example, '/path/to/my_BABS_project/' "
'(default is current working directory).'
),
default=os.getcwd(),
)
parser.add_argument(
'--container_config_yaml_file',
Expand Down