Skip to content

Conversation

@kotsaloscv
Copy link
Contributor

@kotsaloscv kotsaloscv commented Jul 6, 2022

These are the modifications for python3 and modeldb-ci support (copied from this PR: neuronsimulator/nrn-modeldb-ci#41):
- 2to3 -w .
- reindent .
- sed -i 's/# matplotlib/matplotlib/g' main.py
- sed -i 's/figure, hold, isscalar/figure, isscalar/g;s/hold(True)/#hold(True)/g' analysis.py
- sed -i 's/hashlib.md5(obj)/hashlib.md5(obj.encode("utf-8"))/g' shared.py
- sed -i 's/cell.t0 = .0/#cell.t0 = .0/g' izhi.py
- sed -i "s/(nCells/s.nMuscles)/int(nCells/s.nMuscles)/g;s/'w'/'wb'/g;s/s.hostspikevecs[c]/[s.hostspikevecs[c].x[i] for i in range(s.hostspikevecs[c].size())]/g" network.py

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant