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

Unable to parse this line #1134

Open
harshk95 opened this issue Feb 6, 2025 · 1 comment
Open

Unable to parse this line #1134

harshk95 opened this issue Feb 6, 2025 · 1 comment

Comments

@harshk95
Copy link

harshk95 commented Feb 6, 2025

Hi I receive the following error

Unable to parse this line

when trying to load a swc file morhoplogy. Visually it seems like verything is in order and I cannot figure out the issue.
You can find the file here:

Would appreciate any help.
Thanks.

@mgeplf
Copy link
Collaborator

mgeplf commented Feb 6, 2025

It looks like the row ID, and types are encoded as floating point.

1.000000	1.000000	3564.219157	5122.153879	6242.256998	1.133333	-1.000000
2.000000	1.000000	3575.573478	5111.449955	6235.140194	1.133333	1.000000
3.000000	1.000000	3590.388767	5097.726661	6211.709147	1.133333	2.000000
4.000000	1.000000	3604.994267	5096.023853	6182.604975	1.133333	3.000000

The first line should look like:

1	1	3564.219157	5122.153879	6242.256998	1.133333	-1

See: https://swc-specification.readthedocs.io/en/latest/swc.html

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