The following error is recorded with cmb-bwvr pipeline (Brainwaver with CamBA preprocessing)
Running '/path/to/brainwaver/bin/2dgraph.R /path/to/output/brainwaver.parameters.txt /path/to/rawdata/Std13642_0002SpatSmooth.withheader.cor --ps=/path/to/rawdata/Std13642_0002SpatSmooth.
withheader.2dgraph.ps --png=/path/to/rawdata/Std13642_0002SpatSmooth.withheader.2dgraph.%02d.png --smallpng=/path/to/rawdata/Std13642_0002SpatSmooth.withh
eader.2dgraph.%02d.small.png' ...
out>
res> level 1 threshold 0.1347656 edges 553
res> level 2 threshold 0.01977539 edges 551
res> level 3 threshold 0.0004882812 edges 456
res> level 4 threshold 0.0004882812 edges 245
res> d1Error in if (distance(x, y, z) < BLUE_DISTANCE) { :
res> missing value where TRUE/FALSE needed
res> In addition: Warning message:
res> The number of edges is not specified in the parameter file, will use the de
fault : n log(n) in: eval.with.vis(expr, envir, enclos)
res> Execution halted
out>
out> rfx.sh> Completed
where 13642_00028.nii is the input file, The file we use for standard regression testing, i.e., <camba>/tests/brainwaver_part1-test.rawdata/13642_00028.nii
brainwaver.parameters.txt is
coordfile<-'/path/to/brainwaver/share/brainwaver/common-data/AAL/coord1.tt'
namesfile<-'/path/to/brainwaver/share/brainwaver/common-data/AAL/AALtitles.txt'
method<-'modwt'
wavelet<-'la8'
boundary<-'periodic'
nb.edges<-'automatic'
NUMBER_OF_RANDOM_GRAPHS<-as.integer(10)
The whole pipeline can be reproduced using the "Brainwaver with CamBA preprocessing"
Wizard accepting the default values.