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

Fixes for SoA NEURON data structures #67

Merged
merged 10 commits into from
May 2, 2023
21 changes: 16 additions & 5 deletions modeldb/modeldb-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -340,13 +340,26 @@
- cat mosinit.hoc >> temp
- mv temp mosinit.hoc
33975:
# The "interesting" feature of this model is that it produces an error message, roughly:
# We were unable to associate a PlayRecord item with a RANGE variable
# whose format changed after 8.2.2, and which went away in the data structure PR #2027.
# The error going away caused an (empty) gout file to be written, which also caused a diff.
# To avoid false positives, we regex away the error + traceback, and never produce a gout.
curate_patterns:
- pattern: 'hoc_run1: caught exception: hoc_execerror: We were unable to associate a PlayRecord item with a RANGE variable'
repl: ''
- pattern: '%neuron-executable%: We were unable to associate a PlayRecord item with a RANGE variable'
repl: ''
- pattern: ' in %model_dir%/driver.hoc near line 44'
repl: ''
- pattern: '^\s+(finitialize|init|run|stdinit)\((|-65)\)'
repl: ''
- pattern: '^\s+\^'
repl: ''
run:
- ringperf()
- run()
- verify_graph_()
# - verify_graph_()
alexsavulescu marked this conversation as resolved.
Show resolved Hide resolved
37856:
run:
- runiv()
Expand Down Expand Up @@ -692,15 +705,12 @@
- run()
- verify_graph_()
105507:
curate_patterns:
- pattern: '^([0-9.\-e]+) kilocycles$'
repl: '%some_count% kilocycles'
run:
- load_file("batch_.hoc")
- verify_graph_()
script:
# 424242: this is just avoiding a timing-related number being printed
- sed -i'.bak' -e 's/batch_flag=0/batch_flag=1/g;s/tstop = 1e3/tstop = 20/g;s#return tti/1e3#return 424242#g' batch_.hoc
- sed -i.bak -e 's/batch_flag=0/batch_flag=1/g;s/tstop = 1e3/tstop = 20/g;s#return tti/1e3#return 424242#g;s#print tti/.*#print "%some_time%"#g' batch_.hoc
olupton marked this conversation as resolved.
Show resolved Hide resolved
106551:
run:
- use_mcell_ran4(1)
Expand Down Expand Up @@ -1219,6 +1229,7 @@
comment: Tries to open bac6.ses, which does not exist
run: null
267384:
github: 'pull/2'
olupton marked this conversation as resolved.
Show resolved Hide resolved
model_dir: 'BBP_TTPC_EXAMPLE'
script:
# 12 is the largest value (runModel-template.hoc); this is a guess
Expand Down