updating args help to full names
This commit is contained in:
@@ -31,13 +31,14 @@ PARTITIONS = [
|
||||
] # yapf: disable
|
||||
|
||||
|
||||
|
||||
def get_apo_input():
|
||||
description = (
|
||||
"After each file is written, indicated script will be executed. "
|
||||
"Path for the file will be passed to the script as --input <path.h5>. "
|
||||
"There is a possibility of passing not defined here, but allowed by slurm documentation "
|
||||
"parameters directly to slurm call. For that, just add them at the end of your call e.g. "
|
||||
"as: apo -s xxx -e y --nice=100 . For additional information check 'man sbatch'"
|
||||
"as: apocalypse -s xxx -e y --nice=100 . For additional information check 'man sbatch'"
|
||||
)
|
||||
parser = argparse.ArgumentParser(description=description)
|
||||
parser._optionals.title = "flag arguments"
|
||||
|
||||
+3
-1
@@ -1,11 +1,13 @@
|
||||
import argparse
|
||||
|
||||
from logzero import logger
|
||||
|
||||
from utils.helpers import check_pgroup
|
||||
|
||||
|
||||
def get_rerun_input():
|
||||
parser = argparse.ArgumentParser(
|
||||
description="Re-run finished DAQ. Usage: apo_re_run -p pgroup -r run"
|
||||
description="Re-run finished DAQ. Usage: apocalypse_re_run -p pgroup -r run"
|
||||
)
|
||||
parser._optionals.title = "flag arguments"
|
||||
required = parser.add_argument_group("required")
|
||||
|
||||
Reference in New Issue
Block a user