updating args help to full names

This commit is contained in:
2026-06-03 18:09:55 +02:00
parent cd3659241f
commit 7eb3908d9a
2 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -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
View File
@@ -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")