diff --git a/probtrackx.cc b/probtrackx.cc index 95095458076156706bd91492c71811958ca8b54b..4150d57d0e5ac134cef21c76ab0bd90bec94e390 100644 --- a/probtrackx.cc +++ b/probtrackx.cc @@ -39,7 +39,8 @@ int main ( int argc, char **argv ){ if(fsl_imageexists(opts.mask2.value())){ twomasks();} else{ seedmask(); } } - else{ nmasks(); } + else if(opts.network.value()){ nmasks(); } + else {}; //else if(fopen(tmpin.c_str(),"r")!=NULL ){ track();} diff --git a/ptx_simple.cc b/ptx_simple.cc index 95c17541ea5ec0dfef7f18fb1366103ee6bdcdab..418c252041312119afb5d4d71545660ff3079e35 100644 --- a/ptx_simple.cc +++ b/ptx_simple.cc @@ -44,10 +44,11 @@ void track(){ float yst=Seeds(SN,2); float zst=Seeds(SN,3); keeptot += seedmanager.run(xst,yst,zst,false,0); - string add=num2str(Seeds(SN,1))+(string)"_"+num2str(Seeds(SN,2))+(string)"_"+num2str(Seeds(SN,3)); + string add="_"+num2str(Seeds(SN,1))+(string)"_"+num2str(Seeds(SN,2))+(string)"_"+num2str(Seeds(SN,3)); counter.save_pathdist(add); counter.reset_prob(); } //Close Seed number Loop - counter.save_total(keeptot); + + //counter.save_total(keeptot); }