Skip to content

Commit

Permalink
Merge pull request #528 from ModECI/nml_examples
Browse files Browse the repository at this point in the history
Fix to CI and regenerated images
  • Loading branch information
pgleeson authored Apr 29, 2024
2 parents 1c2ee26 + b000a64 commit 9af8aa7
Show file tree
Hide file tree
Showing 87 changed files with 2,107 additions and 2,374 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ "3.8", "3.10", "3.11"]
python-version: [ "3.9", "3.10", "3.11"]
runs-on: [ubuntu-latest, macos-latest, windows-latest]
exclude:
- runs-on: macos-latest
python-version: "3.9"

steps:
- uses: actions/checkout@v4
Expand All @@ -49,6 +52,11 @@ jobs:
#- name: Install specific PsyNeuLink branch
# run: python -m pip install git+https://github.com/ModECI/PsyNeuLink@devel

- name: Install HDF5 for pytables on macos-14/latest
if: ${{ matrix.runs-on == 'macos-latest' }}
run: |
brew install hdf5
- name: Install core package
run: python -m pip install .[dev]

Expand Down
42 changes: 21 additions & 21 deletions docs/MDF_function_specifications.json

Large diffs are not rendered by default.

226 changes: 121 additions & 105 deletions docs/MDF_function_specifications.md

Large diffs are not rendered by default.

239 changes: 132 additions & 107 deletions docs/MDF_function_specifications.yaml

Large diffs are not rendered by default.

226 changes: 121 additions & 105 deletions docs/sphinx/source/api/MDF_function_specifications.md

Large diffs are not rendered by default.

Binary file modified docs/sphinx/source/api/export_format/MDF/images/abc_conditions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/MDF/images/abcd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/MDF/images/abcd_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/MDF/images/arrays.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/MDF/images/params_funcs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/MDF/images/simple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/MDF/images/simple_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/MDF/images/states.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/NeuroML/ABCD.1.mdf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/NeuroML/ABCD.mdf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/NeuroML/ABCD.nmllite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/NeuroML/FN.gv.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/NeuroML/FNmulti.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/NeuroML/Izh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/NeuroML/Izh_run.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/NeuroML/IzhikevichTest.gv.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/NeuroML/LEMS_SimABCD.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/NeuroML/LEMS_SimFN.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/NeuroML/MDFFNrun.multi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/NeuroML/MDFFNrun.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/ONNX/ab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/PyTorch/inception.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/sphinx/source/api/export_format/PyTorch/mlp_pure_mdf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/MDF/RNN/IaF.net.run.png
Binary file modified examples/MDF/RNN/IaF.net2.run.png
Binary file modified examples/MDF/RNN/IaF.run.png
Binary file modified examples/MDF/RNN/LEMS_Simiaf_example.png
Binary file modified examples/MDF/RNN/RNN.run.png
Binary file modified examples/MDF/RNN/iaf.net.png
Binary file modified examples/MDF/RNN/iaf.net2.png
Binary file modified examples/MDF/RNN/iaf.png
Binary file modified examples/MDF/RNN/rnn.png
Binary file modified examples/MDF/conditions/images/composite_example.png
Binary file modified examples/MDF/conditions/images/everyncalls.png
Binary file modified examples/MDF/conditions/images/threshold.png
Binary file modified examples/MDF/conditions/images/timeinterval.png
Binary file modified examples/MDF/images/abc_conditions.png
Binary file modified examples/MDF/images/abcd.png
Binary file modified examples/MDF/images/abcd_3.png
Binary file modified examples/MDF/images/arrays.png
Binary file modified examples/MDF/images/params_funcs.png
Binary file modified examples/MDF/images/simple.png
Binary file modified examples/MDF/images/simple_3.png
Binary file modified examples/MDF/images/states.png
Binary file modified examples/NeuroML/ABCD.1.mdf.png
Binary file modified examples/NeuroML/ABCD.mdf.png
Binary file modified examples/NeuroML/ABCD.nmllite.png
Binary file modified examples/NeuroML/FN.gv.png
Binary file modified examples/NeuroML/FNmulti.png
Binary file modified examples/NeuroML/Izh.png
Binary file modified examples/NeuroML/Izh_run.png
Binary file modified examples/NeuroML/IzhikevichTest.gv.png
Binary file modified examples/NeuroML/LEMS_SimABCD.png
Binary file modified examples/NeuroML/LEMS_SimFN.png
Binary file modified examples/NeuroML/LEMS_SimIzhikevichTest.png
Binary file modified examples/NeuroML/MDFFNrun.multi.png
Binary file modified examples/NeuroML/MDFFNrun.png
Binary file modified examples/NeuroML/PyNN/HH.mdf.png
Binary file modified examples/NeuroML/PyNN/InputWeights.mdf.png
Binary file modified examples/NeuroML/PyNN/Net1.mdf.png
Binary file modified examples/NeuroML/PyNN/OneCell.mdf.png
Binary file modified examples/NeuroML/PyNN/SimpleNet.mdf.png
2 changes: 1 addition & 1 deletion examples/ONNX/ab.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"format": "ModECI MDF v0.4",
"generating_application": "Python modeci-mdf v0.4.9",
"graphs": {
"torch_jit": {
"main_graph": {
"nodes": {
"/A/Add": {
"input_ports": {
Expand Down
Binary file modified examples/ONNX/ab.png
2 changes: 1 addition & 1 deletion examples/ONNX/ab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ONNX Model:
format: ModECI MDF v0.4
generating_application: Python modeci-mdf v0.4.9
graphs:
torch_jit:
main_graph:
nodes:
/A/Add:
input_ports:
Expand Down
6 changes: 3 additions & 3 deletions examples/ONNX/abc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"format": "ModECI MDF v0.4",
"generating_application": "Python modeci-mdf v0.4.9",
"graphs": {
"torch_jit": {
"main_graph": {
"nodes": {
"/A/Add": {
"input_ports": {
Expand Down Expand Up @@ -52,8 +52,8 @@
"parameters": {
"body": {
"value": {
"graph_torch_jit1": {
"id": "torch_jit1",
"graph_sub_graph": {
"id": "sub_graph",
"nodes": {
"Div_5": {
"input_ports": {
Expand Down
6 changes: 3 additions & 3 deletions examples/ONNX/abc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ONNX Model:
format: ModECI MDF v0.4
generating_application: Python modeci-mdf v0.4.9
graphs:
torch_jit:
main_graph:
nodes:
/A/Add:
input_ports:
Expand Down Expand Up @@ -36,8 +36,8 @@ ONNX Model:
parameters:
body:
value:
graph_torch_jit1:
id: torch_jit1
graph_sub_graph:
id: sub_graph
nodes:
Div_5:
input_ports:
Expand Down
2 changes: 1 addition & 1 deletion examples/ONNX/abcd.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"format": "ModECI MDF v0.4",
"generating_application": "Python modeci-mdf v0.4.9",
"graphs": {
"torch_jit": {
"main_graph": {
"nodes": {
"/A/Mul": {
"input_ports": {
Expand Down
2 changes: 1 addition & 1 deletion examples/ONNX/abcd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ONNX Model:
format: ModECI MDF v0.4
generating_application: Python modeci-mdf v0.4.9
graphs:
torch_jit:
main_graph:
nodes:
/A/Mul:
input_ports:
Expand Down
Binary file modified examples/PyTorch/MDF_PyTorch/ABCD.onnx
Binary file not shown.
Binary file modified examples/PyTorch/MDF_PyTorch/Arrays.onnx
Binary file not shown.
Binary file modified examples/PyTorch/MDF_PyTorch/Simple.onnx
Binary file not shown.
Loading

0 comments on commit 9af8aa7

Please sign in to comment.