Skip to content

Commit dcf746e

Browse files
authored
Merge pull request #493 from ModECI/development
Latest development to cyclic graphs test branch
2 parents 87bb845 + 48c7518 commit dcf746e

File tree

156 files changed

+294588
-4644
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+294588
-4644
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ jobs:
1313
name: Format
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v1
17-
- uses: actions/setup-python@v2
18-
- uses: pre-commit/action@v2.0.0
16+
- uses: actions/checkout@v3
17+
- uses: actions/setup-python@v4
18+
with:
19+
python-version: "3.10"
20+
- uses: pre-commit/action@v3.0.0
1921
with:
2022
extra_args: --hook-stage manual --all-files
2123

@@ -25,13 +27,13 @@ jobs:
2527
strategy:
2628
fail-fast: false
2729
matrix:
28-
python-version: [ "3.8", "3.9", "3.10"]
30+
python-version: [ "3.8", "3.10", "3.11"]
2931
runs-on: [ubuntu-latest, macos-latest, windows-latest]
3032

3133
steps:
32-
- uses: actions/checkout@v2
34+
- uses: actions/checkout@v3
3335

34-
- uses: actions/setup-python@v2
36+
- uses: actions/setup-python@v4
3537
with:
3638
python-version: ${{ matrix.python-version }}
3739

@@ -60,48 +62,37 @@ jobs:
6062
6163
- name: Install most optional dependencies
6264
run: |
63-
python -m pip install .[all_except_psyneulink]
65+
python -m pip install .[optional]
6466
6567
- name: Version info for optional installed packages
6668
run: |
6769
pip list
6870
6971
- name: Install graphviz
70-
if: ${{ matrix.runs-on != 'windows-latest' }}
71-
run: |
72-
if [[ ${{ matrix.runs-on }} == *"macos"* ]]; then brew install graphviz ; fi
73-
if [[ ${{ matrix.runs-on }} == *"ubuntu"* ]]; then sudo apt install graphviz ; fi
72+
uses: ts-graphviz/setup-graphviz@v1
7473

7574
- name: Test interface ACT-R
76-
if: ${{ matrix.python-version != '3.10' || matrix.runs-on != 'windows-latest' }}
7775
run: |
7876
python -m pytest -v -m "actr" tests/
7977
8078
- name: Test interface PyTorch
81-
if: ${{ matrix.python-version != '3.10' || matrix.runs-on != 'windows-latest' }}
8279
run: |
8380
python -m pytest -v -m "pytorch" tests/
8481
8582
- name: Test interface NeuroML
86-
if: ${{ matrix.python-version != '3.10' || matrix.runs-on != 'windows-latest' }}
8783
run: |
84+
python -m pip install .[neuroml]
8885
python -m pytest -v -m "neuroml" tests/
8986
90-
- name: Test interface TensorFlow linux/mac
91-
if: ${{ matrix.runs-on != 'windows-latest' }}
92-
run: |
93-
dot -V
94-
python -m pytest -v -m "tensorflow" tests/
95-
96-
- name: Test interface TensorFlow windows
97-
if: ${{ matrix.python-version != '3.10' && matrix.runs-on == 'windows-latest' }}
87+
- name: Test interface TensorFlow
88+
if: ${{ matrix.python-version != '3.11'}}
9889
run: |
99-
choco install graphviz
90+
python -m pip install .[tensorflow]
10091
dot -V
10192
python -m pytest -v -m "tensorflow" tests/
10293
10394
- name: Test interface PsyNeuLink
104-
if: ${{ matrix.python-version != '3.10' }}
95+
if: ${{ matrix.python-version != '3.11'}}
10596
run: |
10697
python -m pip install .[psyneulink]
10798
python -m pytest -v -m "psyneulink" tests/
@@ -123,12 +114,12 @@ jobs:
123114
runs-on: ubuntu-latest
124115

125116
steps:
126-
- uses: actions/checkout@v1
117+
- uses: actions/checkout@v3
127118

128119
- name: Build sdist and wheel
129120
run: pipx run --spec build pyproject-build
130121

131-
- uses: actions/upload-artifact@v2
122+
- uses: actions/upload-artifact@v3
132123
with:
133124
path: dist
134125

.gitignore

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -281,16 +281,33 @@ Thumbs.db #thumbnail cache on Windows
281281
/examples/NeuroML/arm64
282282
/examples/MDF/RNN/iaf.net
283283
/examples/MDF/RNN/iaf.net2
284+
/examples/TensorFlow/Keras/keras_to_MDF
284285
/examples/NeuroML/PyNN/All*
285286
/examples/NeuroML/PyNN/*dat
286-
/examples/NeuroML/PyNN/*.png
287+
/examples/NeuroML/PyNN/*1.png
287288
/examples/NeuroML/PyNN/*.1
288-
/examples/NeuroML/PyNN/InputWeights*
289-
/examples/NeuroML/PyNN/OneCell*
290-
/examples/NeuroML/PyNN/Sim*
291-
/examples/NeuroML/PyNN/LEMS_Sim*
292-
/examples/NeuroML/PyNN/HH*
293289
/examples/NeuroML/PyNN/arm64
294290
/examples/NeuroML/PyNN/*.pkl
291+
/examples/NeuroML/PyNN/*.json
292+
/examples/NeuroML/PyNN/*.mdf
293+
/examples/NeuroML/PyNN/*.spikes
295294
*_code.gen.c
296-
/examples/NeuroML/PyNN/Net1*
295+
examples/TensorFlow/Keras/Keras_to_MDF_IRIS/keras_to_MDF
296+
examples/TensorFlow/Keras/keras_to_MDF
297+
/examples/TensorFlow/Keras/Keras_MDF/Keras_to_MDF_IRIS/keras_to_MDF
298+
/examples/TensorFlow/Keras/Keras_MDF/keras_to_MDF
299+
/examples/NeuroML/PyNN/HH.yaml
300+
/examples/NeuroML/PyNN/InputWeights.yaml
301+
/examples/NeuroML/PyNN/Net1.yaml
302+
/examples/NeuroML/PyNN/OneCell.yaml
303+
/examples/NeuroML/PyNN/SimHH.yaml
304+
/examples/NeuroML/PyNN/SimNet1.yaml
305+
/examples/NeuroML/PyNN/SimOneCell.yaml
306+
/examples/NeuroML/PyNN/SimSimpleNet.yaml
307+
/examples/NeuroML/PyNN/SimpleNet.yaml
308+
/examples/NeuroML/PyNN/SimInputWeights.yaml
309+
/examples/TensorFlow/Keras/IRIS/keras_to_MDF
310+
/examples/TensorFlow/Keras/MNIST/keras_to_MDF
311+
/examples/TensorFlow/Keras/MNIST/keras_to_MDF.1
312+
/examples/TensorFlow/Keras/IRIS/keras_to_MDF.1
313+
/checkout_pngs.sh

docs/MDF_function_specifications.json

Lines changed: 53 additions & 53 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)