From 2350bf421854e4c568e9070843f34a7546e5e874 Mon Sep 17 00:00:00 2001 From: Saad Jbabdi <saad@fmrib.ox.ac.uk> Date: Thu, 16 Jul 2009 12:11:21 +0000 Subject: [PATCH] clarified error message --- probtrackx.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/probtrackx.cc b/probtrackx.cc index 5a49254..8380095 100644 --- a/probtrackx.cc +++ b/probtrackx.cc @@ -44,7 +44,11 @@ int main ( int argc, char **argv ){ } else if(opts.network.value()){ nmasks(); } else if(opts.meshfile.value()!=""){meshmask();} - else {cout << "exit without doing anything"<<endl;return 0;}; + else { + cout << "No seed mask detected! exit without doing anything"<<endl; + cout << "If you are seeding from a list of coordinates, use --mode=simple"<<endl; + return 0; + }; //else if(fopen(tmpin.c_str(),"r")!=NULL ){ track();} -- GitLab