Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add CLI option for registering section-segment mapping info #27

Merged
merged 5 commits into from
Mar 11, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
rename CLI option
WeinaJi committed Mar 11, 2024
commit 60680e3e1516ac23949cd744a12064687d46b332
6 changes: 3 additions & 3 deletions args.py
Original file line number Diff line number Diff line change
@@ -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
@@ -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
@@ -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"