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

[BBPBGLIB-1116] changes nakpump and ProbGABAAB_EMS solving Nan for ion specific model #14

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

sfarina05
Copy link
Collaborator

Based on the Nan Issue reported here: https://bbpteam.epfl.ch/project/issues/browse/BBPBGLIB-1116, I have changed two mod file for metabolism based on the suggestions of Michel Hines and Pramod:
-nakpump.mod has now the voltage dependency as the original model of Chapman 1983
-ProbGABAAB_EMS.mod has reversal potential defined by chloride and Potassium
These two changes seem to remove the Nan and nakpump voltage dependent help in keeping ATP level in physiological range.

@WeinaJi WeinaJi changed the title changes nakpump and ProbGABAAB_EMS solving Nan for ion specific model [BBPBGLIB-1116] changes nakpump and ProbGABAAB_EMS solving Nan for ion specific model Jun 26, 2024
@WeinaJi
Copy link
Collaborator

WeinaJi commented Jun 26, 2024

I've launched the integration test with this branch https://bbpgitlab.epfl.ch/hpc/sim/blueconfigs/-/pipelines/218971

@WeinaJi
Copy link
Collaborator

WeinaJi commented Jun 26, 2024

I've launched the integration test with this branch https://bbpgitlab.epfl.ch/hpc/sim/blueconfigs/-/pipelines/218971

This change doesn't work with the multiscale run test in the neurodamus pipeline, see failed job
https://bbpgitlab.epfl.ch/hpc/sim/blueconfigs/-/jobs/1331767

[VERB]  -> Loading metypes from: /gpfs/bbp.cscs.ch/project/proj12/jenkins/subcellular/blueconfigs_test/simulation-sonataconf/base_circuit/emodels_atp_scan/emodels_atp_1p4
[VERB]  -> Loading 'asc' morphologies from: /gpfs/bbp.cscs.ch/project/proj12/jenkins/subcellular/blueconfigs_test/simulation-sonataconf/base_circuit/morphologies/fixed_ais_L23PC_20201210/ascii
[INFO]  > Instantiating cells... (1 in Rank 0)
4 special: syntax error
4  near line 1
4  {cNAC_L23BTC[0].axon[0] totalpump_nakpump(0.100000) = (0.0 * 10.1763 + 1.0)*0.000000000000400}
                                                     ^
        4 cNAC_L23BTC[0].execute("cNAC_L23BT...")
      4 cNAC_L23BTC[0].distribute_distance(SectionList[2], "totalpump_...", "(0.0 * %g ...")
    4 cNAC_L23BTC[0].biophys()
  4 cNAC_L23BTC[0].init(933, "/gpfs/bbp....", "sm080930a1...", 0)

@sfarina05 , do we need to update the above emodl path in our test? Does it mean that the new mod files won't work with old circuit?

@WeinaJi WeinaJi requested a review from jamesgking June 27, 2024 14:54
@WeinaJi
Copy link
Collaborator

WeinaJi commented Jun 27, 2024

I've launched the integration test with this branch https://bbpgitlab.epfl.ch/hpc/sim/blueconfigs/-/pipelines/218971

This change doesn't work with the multiscale run test in the neurodamus pipeline, see failed job https://bbpgitlab.epfl.ch/hpc/sim/blueconfigs/-/jobs/1331767

[VERB]  -> Loading metypes from: /gpfs/bbp.cscs.ch/project/proj12/jenkins/subcellular/blueconfigs_test/simulation-sonataconf/base_circuit/emodels_atp_scan/emodels_atp_1p4
[VERB]  -> Loading 'asc' morphologies from: /gpfs/bbp.cscs.ch/project/proj12/jenkins/subcellular/blueconfigs_test/simulation-sonataconf/base_circuit/morphologies/fixed_ais_L23PC_20201210/ascii
[INFO]  > Instantiating cells... (1 in Rank 0)
4 special: syntax error
4  near line 1
4  {cNAC_L23BTC[0].axon[0] totalpump_nakpump(0.100000) = (0.0 * 10.1763 + 1.0)*0.000000000000400}
                                                     ^
        4 cNAC_L23BTC[0].execute("cNAC_L23BT...")
      4 cNAC_L23BTC[0].distribute_distance(SectionList[2], "totalpump_...", "(0.0 * %g ...")
    4 cNAC_L23BTC[0].biophys()
  4 cNAC_L23BTC[0].init(933, "/gpfs/bbp....", "sm080930a1...", 0)

The ngv test in the neurodamus CI is using the old emodels in /gpfs/bbp.cscs.ch/project/proj12/jenkins/subcellular/blueconfigs_test/simulation-sonataconf/base_circuit/emodels_atp_scan/emodels_atp_1p4 where not all the hoc templates contain totalpump. One option is to update the emodel path in the circuit_config.json for this test. Maybe we should do that.

@WeinaJi WeinaJi requested a review from atemerev July 1, 2024 09:09
@WeinaJi
Copy link
Collaborator

WeinaJi commented Jul 9, 2024

As discussed with @sfarina05 , we should update the emodels in our neurodamus CI test https://bbpgitlab.epfl.ch/hpc/sim/blueconfigs/-/blob/main/sonataconf-quick-multiscale/circuit_config.json?ref_type=heads (the value of the key "biophysical_neuron_models_dir") with the V10 version
"/gpfs/bbp.cscs.ch/project/proj137/NGVCircuits/rat_sscx_S1HL/V10/emodels/hoc"
@atemerev Could you please create a MR in the blueconfigs repo ? Thanks!

Copy link
Collaborator

@WeinaJi WeinaJi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Once this commit is tagged and deployed on bb5, we need to update the neurodamus CI test "sonataconf-quick-multiscale" and its reference reports.
https://bbpgitlab.epfl.ch/hpc/sim/blueconfigs/-/merge_requests/123

Copy link
Collaborator

@pramodk pramodk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the MOD file side, LGTM!

@sfarina05 sfarina05 merged commit ffd634a into main Jul 11, 2024
6 checks passed
@sfarina05 sfarina05 deleted the sofia/bugfix_nan_ndam branch July 11, 2024 09:15
WeinaJi added a commit to BlueBrain/neurodamus that referenced this pull request Jul 22, 2024
## Context
Following the update of ngv/metabolism MOD files
(BlueBrain/neurodamus-models#14), the v10
emodels should be used in the ngv test. This PR updates the ngv test
config file in the neurodamus unit tests.

## Scope
Update `tests/simulations/ngv/circuit_config.json`, the same as
`blueconfigs/sonataconf-quick-multiscale`.

## Testing
The existing `tests/scientific-ngv`.

## Review
* [x] PR description is complete
* [x] Coding style (imports, function length, New functions, classes or
files) are good
* [ ] Unit/Scientific test added
* [ ] Updated Readme, in-code, developer documentation
WeinaJi added a commit to BlueBrain/neurodamus that referenced this pull request Oct 14, 2024
## Context
Following the update of ngv/metabolism MOD files
(BlueBrain/neurodamus-models#14), the v10
emodels should be used in the ngv test. This PR updates the ngv test
config file in the neurodamus unit tests.

## Scope
Update `tests/simulations/ngv/circuit_config.json`, the same as
`blueconfigs/sonataconf-quick-multiscale`.

## Testing
The existing `tests/scientific-ngv`.

## Review
* [x] PR description is complete
* [x] Coding style (imports, function length, New functions, classes or
files) are good
* [ ] Unit/Scientific test added
* [ ] Updated Readme, in-code, developer documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants