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

Sanitize deletes all children sections when parent section (non-soma) is zero #105

Closed
mgeplf opened this issue Jun 1, 2022 · 1 comment
Assignees

Comments

@mgeplf
Copy link
Contributor

mgeplf commented Jun 1, 2022

This is a continuation of #99
Running neuror sanitize file simple1.asc out.asc on

("CellBody"
  (Color Red)
  (CellBody)
  (0.001000000 0.001000000 0.000000000 0.010000000)
  (-0.001000000 0.001000000 0.000000000 0.010000000)
  (-0.001000000 -0.001000000 0.000000000 0.010000000)
  (0.001000000 -0.001000000 0.000000000 0.010000000)
)

( (Color Cyan)
  (Axon)
  (0.000000000 0.000000000 0.000000000 2.000000000)
  (0.000000000 -4.000000000 0.000000000 2.000000000)
  (
    (0.000000000 -4.000000000 0.000000000 4.000000000)
    (0.000000000 -4.000000000 0.000000000 4.000000000)
    (0.000000000 -4.000000000 0.000000000 4.000000000)
    (
        (6.000000000 -4.000000000 0.000000000 4.000000000)
        (7.000000000 -5.000000000 0.000000000 4.000000000)
    |
        (6.000000000 -4.000000000 0.000000000 4.000000000)
        (8.000000000 -4.000000000 0.000000000 4.000000000)
    )
  |
    (0.000000000 -4.000000000 0.000000000 4.000000000)
    (-5.000000000 -4.000000000 0.000000000 4.000000000)
  )
)

Which results in:

[...snip cellbody]
( (Color Cyan)
  (Axon)
  (0.000000000 0.000000000 0.000000000 2.000000000)
  (0.000000000 -4.000000000 0.000000000 2.000000000)
  (
    (0.000000000 -4.000000000 0.000000000 4.000000000)
    (-5.000000000 -4.000000000 0.000000000 4.000000000)
  )
)

and doesn't have the correct subtree.

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

2 participants