Skip to content

Commit 2327f4f

Browse files
committed
Fix for jupytext
1 parent bce1fce commit 2327f4f

2 files changed

Lines changed: 5 additions & 19 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Provide the abstract of the paper
1111

1212
## Getting started
1313

14-
We provide a pre-build Docker image which can be used to run the the code in this repository. First thing you need to do is in ensure that you have [docker installed](https://docs.docker.com/get-docker/).
14+
We provide a pre-build Docker image which can be used to run the the code in this repository. First thing you need to do is to ensure that you have [docker installed](https://docs.docker.com/get-docker/).
1515

1616
To start an interactive docker container you can execute the following command
1717

code/demo.py

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,15 @@
1-
# ---
2-
# jupyter:
3-
# jupytext:
4-
# text_representation:
5-
# extension: .py
6-
# format_name: light
7-
# format_version: '1.5'
8-
# jupytext_version: 1.15.2
9-
# kernelspec:
10-
# display_name: Python 3.10.6 64-bit ('3.10.6')
11-
# language: python
12-
# name: python3
13-
# ---
141
# # Demo
152
#
163
# This notebook contains a simple demo on how to work with the code.
17-
import sys
18-
19-
sys.path.insert(0, "../code")
4+
#
205

21-
# +
6+
import sys
227
import numpy as np
238
from scipy.integrate import solve_ivp
249
import ap_features as apf
2510

26-
from run_simulation import fitzhugh_nagumo
11+
sys.path.insert(0, "../code")
12+
from run_simulation import fitzhugh_nagumo # noqa: E402
2713

2814
# +
2915
a = -0.22

0 commit comments

Comments
 (0)