"After copying the new notebook file over, you should open it and then save it to regenerate the md file before pushing."
]
}
],
"metadata": {
...
...
%% Cell type:code id: tags:
``` python
importos
importshutil
```
%% Cell type:markdown id: tags:
Using this, we can just make edits to the software in the folder where the students will run it and use this to get a copy of the updated code into the git repo.
%% Cell type:code id: tags:
``` python
os.remove("SQUID measurement software.ipynb")
os.remove("SQUID measurement software.md")
source="../../../Delft University of Technology/TN2953-P QN Squid Practicum - data/SQUID measurement software.ipynb"
shutil.copy2(source,".")
```
%% Output
'.\\SQUID measurement software.ipynb'
%% Cell type:code id: tags:
%% Cell type:markdown id: tags:
``` python
```
After copying the new notebook file over, you should open it and then save it to regenerate the md file before pushing.