Skip to content
Snippets Groups Projects
Commit 177ca6f7 authored by Saad Jbabdi's avatar Saad Jbabdi
Browse files

corrected small bug in simple mode

parent 4bcedbfa
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,8 @@ int main ( int argc, char **argv ){ ...@@ -39,7 +39,8 @@ int main ( int argc, char **argv ){
if(fsl_imageexists(opts.mask2.value())){ twomasks();} if(fsl_imageexists(opts.mask2.value())){ twomasks();}
else{ seedmask(); } else{ seedmask(); }
} }
else{ nmasks(); } else if(opts.network.value()){ nmasks(); }
else {};
//else if(fopen(tmpin.c_str(),"r")!=NULL ){ track();} //else if(fopen(tmpin.c_str(),"r")!=NULL ){ track();}
......
...@@ -44,10 +44,11 @@ void track(){ ...@@ -44,10 +44,11 @@ void track(){
float yst=Seeds(SN,2); float yst=Seeds(SN,2);
float zst=Seeds(SN,3); float zst=Seeds(SN,3);
keeptot += seedmanager.run(xst,yst,zst,false,0); 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.save_pathdist(add);
counter.reset_prob(); counter.reset_prob();
} //Close Seed number Loop } //Close Seed number Loop
counter.save_total(keeptot);
//counter.save_total(keeptot);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment