Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
run: |
pip install .
pip install .[dev]
pip install "numpy<2.4" # Issue with numpy 2.4 and quantities, see https://github.com/OpenSourceBrain/osb-model-validation/issues/150



- name: Lint with flake8
Expand All @@ -55,7 +57,7 @@ jobs:
git clone https://github.com/NeuroML/pyNeuroML.git
cd pyNeuroML
git checkout $pynml_branch
pip install "NEURON>=8.2.2" # Specify version of neuron - 8.2.1 fails
pip install "NEURON>=8.2.2,<9.0.0" # Specify version of neuron - 8.2.1 fails
#pip install -r requirements-dev.txt
pip install .
cd -
Expand Down Expand Up @@ -105,6 +107,7 @@ jobs:
#export HDF5_DISABLE_VERSION_CHECK=1
if [[ ${{ matrix.python-version }} != 2.7 ]]; then omv install PyNEST; fi
#pip install h5py

omv list -V # list installed engines

- name: Run pytest
Expand Down
1 change: 0 additions & 1 deletion examples/Example6.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ def generate(ref="Example6_PyNN", add_inputs=True):
d = {}
d[ref] = Population(id=pop_id, size='int(%s*N_scaling)'%N_full[l][t], component=cell.id, properties={'color':color, 'type':t})

# Instead of exec, set the attribute directly using locals()
d[ref].random_layout = RandomLayout(region=r.id)
net.populations.append(d[ref])
pop_dict['%s'% (pop_id)] = d[ref]
Expand Down
2 changes: 1 addition & 1 deletion examples/LEMS_SimExample3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!--

This LEMS file has been automatically generated using PyNeuroML v1.3.18 (libNeuroML v0.6.7)
This LEMS file has been automatically generated using PyNeuroML v1.3.22 (libNeuroML v0.6.8)

-->

Expand Down
2 changes: 1 addition & 1 deletion examples/LEMS_SimExample4.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!--

This LEMS file has been automatically generated using PyNeuroML v1.3.18 (libNeuroML v0.6.7)
This LEMS file has been automatically generated using PyNeuroML v1.3.22 (libNeuroML v0.6.8)

-->

Expand Down