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

bug when morphology is not in a subfolder #166

Open
AurelienJaquier opened this issue Apr 18, 2024 · 0 comments
Open

bug when morphology is not in a subfolder #166

AurelienJaquier opened this issue Apr 18, 2024 · 0 comments

Comments

@AurelienJaquier
Copy link
Contributor

When morphology is not in a subfolder and we give, e.g.

morph_file = "./soma_10c.asc"
cell = Cell(hoc_file, morph_file, template_format="v6", emodel_properties=emodel_properties)

the cell can be run as expected, but if we give

morph_file = "soma_10c.asc"
cell = Cell(hoc_file, morph_file, template_format="v6", emodel_properties=emodel_properties)

then we have the following error:

could not open /soma_10c.asc
NEURON: /soma_10c.asc :file is not open
 near line 0
 
 ^
        File[0].eof()
      Import3d_Neurolucida3[0].rdfile("/soma_10c.asc")
    Import3d_Neurolucida3[0].input("/soma_10c.asc")
  cell_bluecellulab_0x7fffe5c34a90[0].load_morphology("", "soma_10c.asc")

It would be nice if we were allowed to give the morphology path without ./ in front of it.

This is not an urgent issue though.

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

No branches or pull requests

1 participant