Commit 770637f5 authored by Julien Michel's avatar Julien Michel

ENH: Add more bullet-proofing in the app

parent 17291dfa
......@@ -265,12 +265,12 @@ void DoExecute()
// TODO: issue error here
otbAppLogFATAL(<<"No features have been selected to train the classifier on!");
// TODO: issue error here
otbAppLogFATAL(<<"No field has been selected for data labelling!");
const unsigned int nbFeatures = selectedIdx.size();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment