-
Notifications
You must be signed in to change notification settings - Fork 15
fix installation for default mechanisms and modfile compilation #49
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
Conversation
jakobj
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice work, thanks! 🎉 🎉 totally missed that before.
added a few comments that should be addressed before merging.
setup.py
Outdated
| if os.path.exists(mech_path): | ||
| shutil.rmtree(mech_path) | ||
| shutil.copytree('neat/tools/simtools/neuron/mech_storage/', mech_path) | ||
| open('neat/tools/simtools/neuron/mech/__init__.py', 'wb') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this left over from debugging? should not leave open file pointers lying around ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
closed the file pointer. This is to put an init file in the mech directory so that it is copied to the install location.
Co-Authored-By: Jakob Jordan <1562742+jakobj@users.noreply.github.com>
|
I was thinking that it might also be possilbe to import multiple .so files in neuron, so that user-defined channels could perhaps be compiled inplace and then a link to the .so file is added in the toolbox. We can merge this now and add an issue to investigate this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome, let's merge this 👍
[edit]
could you please add an issue regarding the inclusion of user-defined .so files?
[/edit]
Ion channel installation was not yet working properly (somehow previous builds must have been storing things). New setup.py should fix it.