-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
In released_plugins/v3d_plugins/resample_swc/resample_swc_func.cpp there are two problems.
In the code
QTextStream myfile(&file);
myfile<<"# generated by Vaa3D Plugin resample_swc"<<endl;
myfile<<"# source file(s): "<<fileOpenName<<endl;
myfile<<"# id,type,x,y,z,r,pid"<<endl;
for (V3DLONG i=0;i<lN.size();i++)
The endlines in this code are not being processed right for me.
I believe it is assuming that this is the stdlib endl rather than the QText endl. I think you should just be able to change it to Qt::endl and it should be fine.
A slightly more serious issue,
http://www.neuronland.org/NLMorphologyConverter/MorphologyFormats/SWC/Spec.html
The specification here says that "Parent samples should appear before any child samples." This is not satisfied in the current incarnation. The graph should be sorted topologically before it is written to the file.
Thank you!
Metadata
Metadata
Assignees
Labels
No labels