Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update model for python3 and modeldb-ci support #3

Closed
wants to merge 3 commits into from
Closed

update model for python3 and modeldb-ci support #3

wants to merge 3 commits into from

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.

None yet

1 participant