Closed muschellij2 closed 4 years ago
The function getSyMG is defined in 2 different places, depending on the normalize flag: https://github.com/ANTsX/ANTsR/blob/master/R/multiscaleSVDxpts.R#L3155 https://github.com/ANTsX/ANTsR/blob/master/R/multiscaleSVDxpts.R#L3139
getSyMG
normalize
The issue is that the line that calls getSyMG only uses the first function arguments: https://github.com/ANTsX/ANTsR/blob/master/R/multiscaleSVDxpts.R#L3241 so if we ever use energyType = "normalized" in symlr, I believe this will fail:
energyType = "normalized"
symlr
am working on this - hoping to finish up today.
The function
getSyMG
is defined in 2 different places, depending on thenormalize
flag: https://github.com/ANTsX/ANTsR/blob/master/R/multiscaleSVDxpts.R#L3155 https://github.com/ANTsX/ANTsR/blob/master/R/multiscaleSVDxpts.R#L3139The issue is that the line that calls
getSyMG
only uses the first function arguments: https://github.com/ANTsX/ANTsR/blob/master/R/multiscaleSVDxpts.R#L3241 so if we ever useenergyType = "normalized"
insymlr
, I believe this will fail: