Skip to content

Conversation

@WillemWybo
Copy link
Collaborator

Ion channel installation was not yet working properly (somehow previous builds must have been storing things). New setup.py should fix it.

@WillemWybo WillemWybo requested a review from jakobj March 10, 2020 18:20
Copy link
Contributor

@jakobj jakobj left a 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')
Copy link
Contributor

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 ;)

Copy link
Collaborator Author

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.

@jakobj jakobj added the bug Something isn't working label Mar 10, 2020
Co-Authored-By: Jakob Jordan <1562742+jakobj@users.noreply.github.com>
@WillemWybo
Copy link
Collaborator Author

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?

Copy link
Contributor

@jakobj jakobj left a 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]

@jakobj jakobj merged commit 39b3714 into nest:python3 Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants