LMv5.3 ReleaseNotes 06072016
LMv5.3 ReleaseNotes 06072016
3 (06/07/2016)
Lmv5.3
Bug Fixes
Modified the formula for fractal dimension to Σlog(1+x)
(1+y)/Σlog(1+x)^2 where x is Euclidean distance and Y is
path distance.
Lmv5.2
Bug Fixes
This bug fix is applicable only for command line execution
or batch processing of large #swc files. The executable is
crashing when parsing files with spaces, this has been fixed
by allowing the use of (a) ‘*’ to replace space or (b) use
quotations to enclose the file name including the path.
For example:
Lm.exe -f0,0,0,10.0 -sC:\Users\user1\Desktop\Lmv5.
2\Lmout.txt C:\Users\Romil\Desktop\Lmv5.1\v*e_moto1.CNG.swc
OR
Help doc
Lmv5.1
New Features
GUI v5.1
Bug Fixes
Lmv5.0
Bug Fixes
The Accepted format of an input SWC file is one which has 7
columns of data namely id, type, x, y, z, radius, pid. If a
file has additional columns then it will not be processed
and display an error message on the GUI.
Fixed the online version crashing issue. This fix will now
filter out the incompatible input file formats both by
checking the file extension and the internal structure. Cur-
rently swc, neurolucida and amira versions are the most com-
monly used formats.
Fixed Bif_ampl_remote angle by removing the decimal point
conversion. Only metrics that are a ratio (e.g. Taper_1,
fractal, etc) or length are converted to have decimal point
precision. This fix eliminated outlier angles that are too
large.
Fixed the Bif_ampl_local angle, which is giving negative
values for some of the files. This issue also has been fixed
after removing the decimal point precision.
Fixed the PCA orientation of the neurons such that when Z-
resolution is too low, the swc files will be oriented based
on only two components (X and Y). This will avoid the swc
conversions to orient files that have low resolution jagged
looking Z direction in the XY view. This fix, first tests
for Z-resolution by checking whether as much as 30% of the z
coordinates are same, if true, then the PCA is done only on
two axes (X and Y), in the second part of PCA, the orienta-
tion is also done based on just two components. For imple-
menting this logic that can conditionally skip Z-coordinate,
three new functions ZresolutionEstimator, saveZcoords and
setZcoords are implemented in Neuron.cpp and additional data
structures like 'datacopy' array and flags like 'zresolu-
tion' were created in pca() method. The fix has been tested
on the entire Brunjes archive, which was visually verified
in CVAPP. Further, entire NMO data was tested in extracting
morphometrics using PCA.
Replaced + with * in the file path in Neuron.cpp and
Morph.cpp, this will now allow the users to choose folders
that have a '+' in the path.
Fixed two linux compiler related bugs. one in converting
Neurolucida files to swc in neuron.cpp in the
lookFor(tag,in) method. second, in the bif_torque_remote
method to initialize prev_next1 and prev_next2 to NULL
Fixed ~Neuron() code to ensure all segments are deleted and
memory is freed. Updated revision# in morph.h; made changes
to Helix, Bif_ampl_local, Bif_ampl_remote functions in
Func.h to restrict decimal points to 2 digits.
Fixed the code to filter invalid file types for input neu-
rons. Made changes to the LookForFileType() function to cor-
rectly identify .swc files and to filter out other invalid
file types.
GUI v5.0
New Features
Two different versions of the lmeasure executable are made
available for 32-bit and 64-bit Linux operating systems.
A new FAQ has been added to the install.html to mention the
valid SWC input file parameters.
http://cng.gmu.edu:8080/Lm/FAQ/install.html#LM5.0_1
Added the svnRevision entry to the properties file. This
will reflect the latest code revision of LM GUI, which is
intended for development purposes.
Added the code to calculate the version number using the
svnRevision entry from the properties file.
Bug Fixes
Corrected code for placing the LMSearchin.txt and LM-
Searchout.txt in the proper session folder in online ver-
sion. This is desired to keep log of all LM input files sys-
tematically inside the corresponding session folder.
Changed the homeUrl entry in the properties file to point
the online version to the correct location. This will also
ensure that all the session folders are created in the des-
ignated folder that is assigned to homeUrl.
Changed the code for ‘Analyze Subtrees’ option both in the
local and online versions. This fixed the ‘subtree analysis’
function and synchronized with the ‘subtree generation’ op-
tion too. Both options, now refer to the subtrees saved into
Apical, basal and axon folders.
Modified the code to replace space (“ “) with star (“*”) in
the pathname of an input SWC file. This will allow the user
to have ‘+’ symbol in the input file path.
Minor changes:
The output of height/width/depth is made consistent. Now,
the total_sum/max/min/avg all returns the same value. This
is because these three functions are calculated at the
entire arbor level. Hence, it returns only one value.
The time of execution for each neuron is logged in the
err.txt file as “Current local time and date:Thu Dec 01
13:51:38 2011”. The err.txt file is created by the
standalone version in the same location that LM executable
is located.
The ‘Generate Subtrees’ option will generate and organize
the subtrees into Axon, Basal and Apical folders locally.
Bif_ampl_local angle at the soma is now changed to return
the maximum angle between the soma and one of its stems.
A new comment header will be added to the Neurolucida to SWC
conversions to add details about cell body representation in
the original files.
The GUI code was changed to support the new sub tree
generation functionality. The online GUI can categorize
generated sub trees into Axon, Basal and Apical.
Added a new “remove all” button in LMSearch panel. This
button will remove all the files from the input file
selection window.