Skip to content

Commit

Permalink
Fixes for SoA NEURON data structures (#67)
Browse files Browse the repository at this point in the history
See neuronsimulator/nrn#2027; remove one error message from the diff.

Co-authored-by: Alexandru Săvulescu <alexandru.savulescu@epfl.ch>
  • Loading branch information
olupton and alexsavulescu authored May 2, 2023
1 parent 86f1e3d commit 908f0e4
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 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_()
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
106551:
run:
- use_mcell_ran4(1)
Expand Down

0 comments on commit 908f0e4

Please sign in to comment.