Skip to content

Commit

Permalink
changed functions to read inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
josura committed Jun 24, 2024
1 parent 2276690 commit 503ede6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mainMPI4.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -688,10 +688,10 @@ int main(int argc, char** argv) {
std::vector<std::vector<double>> inputInitials;
if(vm.count("fInitialPerturbationPerType")){
logger << "[LOG] initial perturbation per type specified, using the file "<<typesInitialPerturbationMatrixFilename<<std::endl;
initialValues = logFoldChangeMatrixToCellVectors(typesInitialPerturbationMatrixFilename,graphsNodes[0],subtypes,ensembleGeneNames);
initialValues = valuesMatrixToTypeVectors(typesInitialPerturbationMatrixFilename,graphsNodes[0],subtypes,ensembleGeneNames);
} else if (vm.count("initialPerturbationPerTypeFolder")){
logger << "[LOG] initial perturbation per type specified, using the folder "<<typeInitialPerturbationFolderFilename<<std::endl;
initialValues = logFoldChangeCellVectorsFromFolder(typeInitialPerturbationFolderFilename,types,graphsNodesAll,subtypes,ensembleGeneNames);
initialValues = valuesVectorsFromFolder(typeInitialPerturbationFolderFilename,types,graphsNodesAll,subtypes,ensembleGeneNames);
} else {
std::cerr << "[ERROR] no initial perturbation file or folder specified: aborting"<<std::endl;
return 1;
Expand Down

0 comments on commit 503ede6

Please sign in to comment.