• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openbraininstitute / neurodamus / 13816229923
90%

Build:
DEFAULT BRANCH: main
Ran 12 Mar 2025 04:14PM UTC
Jobs 2
Files 48
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Mar 2025 04:13PM UTC coverage: 66.245% (+0.4%) from 65.89%
13816229923

push

github

web-flow
synapse bluecellulab checks (#144)

## Context

After talking with bluecellulab we decided to be inspired by some of
their tests (copy). This PR adds some checks to the synapses and the
ways you can override values with the `simulation_config.json` that I
was not aware of.

## Fix #142 

## Scope

- [x] `nrrp` was already checked. Minor improvements: it should be a
positive integer
- [x] `"%s.NMDA_ratio = 1.22 %s.tau_r_NMDA = 3.9 %s.tau_d_NMDA =
148.5"`.
    - [x] `NMDA_ratio`
- [x] `tau_r_NMDA` and `tau_d_NMDA` are global variables. Added test to
override these
- [x] add test to verify synapse location
- [x] test in particular modoverride for `GluSynapse`
- [x] move/merge `test_connection.py` into unit tests
- [x] check synapse override from
[conditions](https://sonata-extension.readthedocs.io/en/latest/sonata_simulation.html#parameters-required-for-modifications)
and how it interacts with the one from
`connection_overrides.synapse_configure`. Spoiler:
``connection_overrides.synapse_configure` wins

## Additional improvements, not stemming from bluecellulab

- [x] `np.isclose(10001.1, 10001.2) == True`. We should use smaller
values. default rtol is 1e-5
- [x] modoverride test was not really overriding (it was already ampa).
Switch to gaba in the test
- [x] fix pytest assert reporting if `tests.utils` is imported in
`conftest.py`
- [x] create issue for inconsistend behavior for synapse global variable
override #147
- [x] fix
[docs](https://github.com/openbraininstitute/sonata-extension/pull/2)

5968 of 9009 relevant lines covered (66.24%)

0.9 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 baseline 13816229923.1 12 Mar 2025 04:14PM UTC 48
24.34
GitHub Action Run
2 unit 13816229923.2 12 Mar 2025 04:15PM UTC 48
65.86
GitHub Action Run
Source Files on build 13816229923
  • Tree
  • List 48
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13816229923
  • 08278fd6 on github
  • Prev Build on main (#13813033482)
  • Next Build on main (#13967358348)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc