You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an error xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 17, column 128
Which is an issue in the format of the xml file when parsed. I am trying to import a k.zip file that was exported from Knossos, but this import function as well as skeleton().fromNML give the same error (when attempting to use either k.zip or .nml). I used the example from this repo, so is this an issue that arises from the export?
The text was updated successfully, but these errors were encountered:
I assume you are referring to the same data you copy-pasted us over here.
In the pasted data we can see the dataset config path: https://agglomeration.ariadne.ai/dataset/2021-12-24.pyk.conf
We can download this file and look at its contents to find out that the segmentation you are looking at is streamed from a server.
When you save to .k.zip, you actually only save the changes you make to this streamed data, but you cannot simply save the entire segmentation, because it is far too large to fit into memory.
You can however load the streaming dataset directly with knossos_utlis:
So e.g. to analyze the segmentation of one cell, you would have start at one chunk containing the cell’s subobject ID and then iteratively explore adjacent chunks for occurences of the same ID.
I get an error
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 17, column 128
Which is an issue in the format of the xml file when parsed. I am trying to import a k.zip file that was exported from Knossos, but this import function as well as skeleton().fromNML give the same error (when attempting to use either k.zip or .nml). I used the example from this repo, so is this an issue that arises from the export?
The text was updated successfully, but these errors were encountered: