Skip to content

Commit

Permalink
testing folder for the initial perturbations
Browse files Browse the repository at this point in the history
  • Loading branch information
josura committed Aug 12, 2023
1 parent fc6c612 commit a3f8869
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/mainRefactored.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,16 @@ int main(int argc, char** argv ) {
std::cerr << "[ERROR] file for the initialPerturbationPerType does not exist: aborting"<<std::endl;
return 1;
}
} else {
std::cerr << "[ERROR] fInitialPerturbationPerType file was not set. Aborting\n";
return 1;
} else if (vm.count("initialPerturbationPerTypeFolder")) {
std::cout << "[LOG] folder for the initialPerturbationPerType was set to "
<< vm["initialPerturbationPerTypeFolder"].as<std::string>() << ".\n";
typeInitialPerturbationFolderFilename = vm["initialPerturbationPerTypeFolder"].as<std::string>();
if(!folderExists(typeInitialPerturbationFolderFilename)){
std::cerr << "[ERROR] folder for the initialPerturbationPerType do not exist: aborting"<<std::endl;
return 1;
}
}

if (vm.count("typeInteractionFolder")) {
std::cout << "[LOG] folder for the type interactions was set to "
<< vm["typeInteractionFolder"].as<std::string>() << ".\n";
Expand Down

0 comments on commit a3f8869

Please sign in to comment.