Skip to content

Commit

Permalink
rename CLI option
Browse files Browse the repository at this point in the history
  • Loading branch information
WeinaJi committed Mar 11, 2024
1 parent 9ab24ab commit 60680e3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions args.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion reference_data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
2 changes: 1 addition & 1 deletion ringtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 60680e3

Please sign in to comment.