Skip to content
New issue

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

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

Already on GitHub? # to your account

Something critical changed from 1.14.14 to 1.14.15 #501

Open
SteMasoli opened this issue Oct 10, 2024 · 1 comment
Open

Something critical changed from 1.14.14 to 1.14.15 #501

SteMasoli opened this issue Oct 10, 2024 · 1 comment
Assignees

Comments

@SteMasoli
Copy link

Hi.

I have just installed Ubuntu on a new single blade and I was not able to run my optimization scripts with 1.14.16.
I downgraded to 1.14.14 and everything is fine again.

I have a class that defines a custom morphology overwriting the one contained in BPO and I think is out of date with 1.14.15/16.

class GrCMorphology2020(ephys.morphologies.NrnFileMorphology):
	def __init__(self, morphology_path, do_replace_axon):

		super(GrCMorphology2020, self).__init__(morphology_path, do_replace_axon)

Which are the changes I have to do to be on par?

@AurelienJaquier
Copy link
Collaborator

AurelienJaquier commented Oct 28, 2024

Hi @SteMasoli ! Sorry for the late response, I had a few weeks off and was away.
1.14.15 introduced new optional arguments to the replace_axon() method: axon_stub_length and axon_nseg_frequency. See here for method definition.
So if you are re-defining this method, be sure to also have these arguments, even if you are not using them.
If you are calling replace_axon() (e.g. in instanciate()), verify that the arguments are compatible.

@AurelienJaquier AurelienJaquier self-assigned this Oct 28, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants