Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants