Nathalie BERNARD

amélioration du script pour automatiser le benchmark

This diff is collapsed. Click to expand it.
No preview for this file type
No preview for this file type
1 #include <iostream> 1 #include <iostream>
2 #include <sstream> 2 #include <sstream>
3 #include <fstream> 3 #include <fstream>
4 -#include "/mnt/c/Users/natha/Documents/IBISC/biorseo2/biorseo/cppsrc/json.hpp" 4 +#include "/local/local/BiorseoNath/cppsrc/json.hpp"
5 #include <typeinfo> 5 #include <typeinfo>
6 #include <set> 6 #include <set>
7 #include <algorithm> 7 #include <algorithm>
...@@ -51,8 +51,8 @@ void delete_redundant_pdb(const string& jsonlibrary, const string& name, const s ...@@ -51,8 +51,8 @@ void delete_redundant_pdb(const string& jsonlibrary, const string& name, const s
51 51
52 int main(int argc, char** argv) 52 int main(int argc, char** argv)
53 { 53 {
54 - string jsonlibrary = "/mnt/c/Users/natha/Documents/IBISC/biorseo2/biorseo/data/modules/ISAURE/Motifs_version_initiale/motifs_final.json"; 54 + string jsonlibrary = "/local/local/BiorseoNath/data/modules/ISAURE/Motifs_version_initiale/motifs_final.json";
55 - string out = "/mnt/c/Users/natha/Documents/IBISC/biorseo2/biorseo/data/modules/ISAURE/Motifs_derniere_version/motifs_final.json"; 55 + string out = "/local/local/BiorseoNath/data/modules/ISAURE/Motifs_derniere_version/motifs_final.json";
56 string name = argv[1]; 56 string name = argv[1];
57 delete_redundant_pdb(jsonlibrary, name, out); 57 delete_redundant_pdb(jsonlibrary, name, out);
58 return 0; 58 return 0;
......
No preview for this file type
...@@ -88,7 +88,7 @@ int main(int argc, char* argv[]) ...@@ -88,7 +88,7 @@ int main(int argc, char* argv[])
88 "RNA-MoIP (A), light motif size + high number of components (B), site score (C), light motif size + site score + high number of components (D)") 88 "RNA-MoIP (A), light motif size + high number of components (B), site score (C), light motif size + site score + high number of components (D)")
89 89
90 ("MFE,e", "Use as function for objective 2 MFE (Minimum Free Energy)") 90 ("MFE,e", "Use as function for objective 2 MFE (Minimum Free Energy)")
91 - ("MEA,a", "Use as function for objective 2 MEA (Maximum Expected Accuracy") 91 + ("MEA,a", "Use as function for objective 2 MEA (Maximum Expected Accuracy) it's also choose by default")
92 92
93 ("disable-pseudoknots,n", "Add constraints forbidding the formation of pseudoknots") 93 ("disable-pseudoknots,n", "Add constraints forbidding the formation of pseudoknots")
94 ("limit,l", po::value<unsigned int>(&MOIP::max_sol_nbr_)->default_value(500), "Intermediate number of solutions in the Pareto set above which we give up the calculation.") 94 ("limit,l", po::value<unsigned int>(&MOIP::max_sol_nbr_)->default_value(500), "Intermediate number of solutions in the Pareto set above which we give up the calculation.")
...@@ -116,7 +116,6 @@ int main(int argc, char* argv[]) ...@@ -116,7 +116,6 @@ int main(int argc, char* argv[])
116 if (vm.count("MFE")) mea_or_mfe = 'a'; 116 if (vm.count("MFE")) mea_or_mfe = 'a';
117 if (vm.count("MEA")) { 117 if (vm.count("MEA")) {
118 mea_or_mfe = 'b'; 118 mea_or_mfe = 'b';
119 - cout << "hey" << endl;
120 } 119 }
121 if (vm.count("verbose")) verbose = true; 120 if (vm.count("verbose")) verbose = true;
122 if (vm.count("disable-pseudoknots")) MOIP::allow_pk_ = false; 121 if (vm.count("disable-pseudoknots")) MOIP::allow_pk_ = false;
......