From 60680e3e1516ac23949cd744a12064687d46b332 Mon Sep 17 00:00:00 2001 From: Weina Ji Date: Mon, 11 Mar 2024 08:19:49 +0100 Subject: [PATCH] rename CLI option --- args.py | 6 +++--- reference_data/README.md | 2 +- ringtest.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/args.py b/args.py index a2f6a81..0c43683 100644 --- a/args.py +++ b/args.py @@ -89,8 +89,8 @@ parser.add_argument("-multisplit", action='store_true', default=False, help="intra-rank thread balance. All pieces of cell on same rank.") -parser.add_argument("-reportmapping", - dest='report_mapping', +parser.add_argument("-registermapping", + dest='register_mapping', action='store_true', - help="report mapping", + help="write section-segment mapping to gid_3.dat file, used for BBP reporting", default=False) diff --git a/reference_data/README.md b/reference_data/README.md index a62d9de..686156e 100644 --- a/reference_data/README.md +++ b/reference_data/README.md @@ -6,4 +6,4 @@ integration tests. * spk1.100ms.std.ref : generated using NEURON (`special -python ringtest.py -tstop 100`) with the contemporary `master` commit b55c6e1630665a792ced67c6446ed4fb852c7f79. -* soma.h5 : generated using CORENEURON (`LIBSONATA_ZERO_BASED_GIDS=1 special -mpi -python ringtest.py -tstop 100 -coreneuron -reportmapping`) +* soma.h5 : generated using CORENEURON (`LIBSONATA_ZERO_BASED_GIDS=1 special -mpi -python ringtest.py -tstop 100 -coreneuron -registermapping`) diff --git a/ringtest.py b/ringtest.py index 73007c7..d195181 100644 --- a/ringtest.py +++ b/ringtest.py @@ -160,7 +160,7 @@ def prun(tstop): print("Error: multi-split is not supported with CoreNEURON\n") quit() - if args.report_mapping: + if args.register_mapping: setup_nrnbbcore_register_mapping(rings) report_conf_file = "report.conf" sim_conf_file = "sim.conf"