matlabarrytoeis: dont abort on file length missmatch as thats fine for RUL data

This commit is contained in:
Carl Philipp Klemm 2024-11-21 16:59:49 +01:00
parent f1b0a33e71
commit 08e0c2fe56

View File

@ -76,8 +76,8 @@ int main(int argc, char** argv)
std::string rul; std::string rul;
if(!std::getline(rulFile, rul).good()) if(!std::getline(rulFile, rul).good())
{ {
std::cout<<argv[3]<<" dose not have the same number of lines as "<<argv[2]<<" aborting\n"; std::cout<<argv[3]<<" dose not have the same number of lines as "<<argv[2]<<" this could be fine or mean that the supplied label file dosent corrispond to the spectra file\n";
return 3; return 0;
} }
std::vector<eis::DataPoint> data = parseLine(eisLine); std::vector<eis::DataPoint> data = parseLine(eisLine);