Page 1 of 1

GUID keyword error when importing .asc

Posted: Fri Aug 31, 2018 12:26 pm
by aeronlaffere
When trying to import an .asc (Neurolucida) reconstruction I get the following error:

Code: Select all

parse error
itok=1526 on line 145 token=err x=0 s=
line 145:   (GUID "")
Indeed, on line 145 and many others of this .asc file there are mentions of (GUID ""):

Code: Select all

("Soma 1"
  (Color Yellow)
  (Closed)
  (GUID "")
  (FillDensity 0)
  (MBFObjectType 5)
  (  626.19  -535.12   -32.97     0.25)
A little searching tells me the people at Neuronland know of this "GUID keyword" (http://neuronland.org/NLMorphologyConve ... story.html) but I haven't found any information better than that. Is this something others have encountered and have a fix for? First importing to Neuronland might be an option but for now I am trying to stick to a Linux machine.

Best,

Aeron

Re: GUID keyword error when importing .asc

Posted: Tue Sep 04, 2018 2:27 pm
by ted
Make a copy of the file. Edit the copy, deleting each line that contains a
(GUID "")
statement. Then try importing the copy.

Re: GUID keyword error when importing .asc

Posted: Tue Sep 18, 2018 12:35 pm
by aeronlaffere
Thanks Ted, that worked. An easy fix!

Re: GUID keyword error when importing .asc

Posted: Tue Sep 18, 2018 2:06 pm
by ted
Every once in a while, a question comes up that has an easy answer. Not often enough.