Import3D: Neurolucida v1 v3 asc parse error

Managing anatomically complex model cells with the CellBuilder. Importing morphometric data with NEURON's Import3D tool or Robert Cannon's CVAPP. Where to find detailed morphometric data.
Post Reply
eacheon
Posts: 97
Joined: Wed Jan 18, 2006 2:20 pm

Import3D: Neurolucida v1 v3 asc parse error

Post by eacheon »

Hi,

It seems that Import3D has problem when dealing with v3 neurolucida file with Text labels. This is what I got.

Code: Select all

oc>
5000 lines read
parse error
itok=27774 token=string x=0 s=t35b36
line 5133: ( (Color White)
This error happens at the following:

Code: Select all

...
)  ;  End of tree

( (Color White)
  (Font "MS Sans Serif" 8)
  (   -1.65   -14.11    50.49)
  "t35b36"
)  ;  End of text

( (Color White)                       <- line 5133
  (Font "MS Sans Serif" 8)
  (  -34.79   -54.68    50.49)
  "t35b36"
)  ;  End of text
...
I am still looking into this. The "v2" asc file (according to neurolucida manual, exported from neurolucida) works ok, all the markers get ignored and warned. I guess it is kind of equivalent to the "v1" asc file dealt with by Import3D, though the header of that file says it is v3:

Code: Select all

version 3
file id: 
MAX:(609.49, 716.22, 184.35)
MIN:(-1573.06, -737.70, -72.47)
filetype: 0
id1: 1004
id2: 0
REF:(0.00, 0.00, 0.00)
rotation: 0.00
gx_alpha: 0
gx_beta: 0
gx_gamma: 0



[10,181](0.86, 1.45, 0.00)  0.29
[2,181](0.86, 1.45, 0.00)  0.29
[1,182](2.57, 2.54, 0.00)  0.29
[1,182](2.86, 2.54, 0.00)  0.29
[1,182](4.57, 3.26, 0.00)  0.29
[1,182](6.57, 3.98, 0.00)  0.29
[1,182](9.71, 3.98, 0.00)  0.29
...

Can some one give me a hint why the line in my v3 file is an error to Import3D? Is there a simple way to ignore them other than manually deleting them from the asc file? Thanks!
hines
Site Admin
Posts: 1687
Joined: Wed May 18, 2005 3:32 pm

Post by hines »

I faintly remember fixing a bug in the neurolucida version 3 reader last October that may fix your problem as well. Try installing the alpha version at
http://www.neuron.yale.edu/ftp/neuron/versions/alpha/
If that does not work, zip up the offending file and email it to me at michael.hines@yale.edu.

With respect to neurolucida file version numbers. I only know that the latest is version 3 and did not know what the earlier versions were called. According
to your comment I should change all references about "version 1" to "version 2". Although I am confused as to why the file would continue to say "version 3".
Post Reply