NeuroMorphoVis icon indicating copy to clipboard operation
NeuroMorphoVis copied to clipboard

Trouble importing .swc file

Open EmanuelSchirm opened this issue 2 years ago • 2 comments

Hello, i am currently and repeatedly experiencing this error when trying to load a .swc file. The error only occours with stitched files of several traced structures. I am working on windows with the latest stand-alone release.

image

I would be very grateful if anyone had a solution!

EmanuelSchirm avatar Apr 24 '22 21:04 EmanuelSchirm

Dear @EmanuelSchirm Would you please share the SWC file and I will try to debug it?

Thanks,

marwan-abdellah avatar Apr 25 '22 03:04 marwan-abdellah

After investigation, I can confirm the following.

  1. The SWC file is not formated in the standard way as indicated by the SWC documentation. The types of the samples (second element in every row in the list) should have either 2, 3 or 4. But I can see that you have strange numbers 274, 23, etc ... That's why they cannot be read.
  2. I tried to load them with MorphIO, and it gives an error too.

@EmanuelSchirm So can you try to make the file comply with the standard SWC format and then we can try to see if the issue still exists or not?

Thanks,

marwan-abdellah avatar May 04 '22 09:05 marwan-abdellah