Commit 360e82bf authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

[cmd] Purge test code

parent adbc05cc
......@@ -50,10 +50,8 @@ from cadbiom.models.guard_transitions.translators.chart_xml \
import MakeModelFromXmlFile
from cadbiom.models.guard_transitions.analyser.static_analysis import StaticAnalyzer
from tools.solutions import load_solutions, convert_solutions_to_json
from tools.models import Reporter
from tools.models import get_transitions, \
get_transitions_from_model_file, \
get_frontier_places, \
get_identifiers_mapping
from tools.models import get_places_data
......@@ -744,49 +742,3 @@ def model_info(model_file, output_dir='./',
f_d.write(
json.dumps(model_info, sort_keys=True, indent=2, ensure_ascii=False).encode('utf8')
)
if __name__ == "__main__":
LOG_DIR = "./logs/"
BIO_MOLDELS_DIR = "./bio_models/"
graph_isomorph_test(BIO_MOLDELS_DIR + "mini_test_publi.bcx",
BIO_MOLDELS_DIR + "mini_test_publi_mod.bcx")
exit()
process_solutions(load_solutions(LOG_DIR + "../run/Whole NCI-PID database translated into CADBIOM formalism(and)_SRP9_cam_complete.txt"),
get_transitions_from_model_file(BIO_MOLDELS_DIR + "Whole NCI-PID database translated into CADBIOM formalism(and).bcx")[0])
exit()
#sort_solutions("/media/DATA/Projets/dyliss_tgf/cadbiom/run/Whole NCI-PID database translated into CADBIOM formalism(and)_SRP9_cam_complete.txt")
#sort_solutions("/media/DATA/Projets/dyliss_tgf/cadbiom/run/Whole NCI-PID database translated into CADBIOM formalism(and)_SRP9_cam.txt")
#sort_solutions("/media/DATA/Projets/dyliss_tgf/cadbiom/run/pid_and_clock_no_perm_p21corrected_start_SRP9_complete.txt")
#exit()
# cond = "((((not(ATF2_JUND_macroH2A_nucl))or(Fra1_JUND_active_nucl))or(Fra1_JUN_active_nucl))or(TCF4_betacatenin_active_nucl))or(JUN_FOS_active_nucl)"
# ret = parse_condition(cond)
# print(ret)
# exit()
# sol_steps = load_solutions(LOG_DIR + "../run/pid_and_clock_SRP9_cam_complete_o.txt")
# g = [sol_step for sol_step in sol_steps]
# print(g)
# exit()
convert_solutions_to_json(load_solutions(LOG_DIR + "../run/pid_and_clock_no_perm_p21corrected_start_SRP9_complete.txt"),
get_transitions_from_model_file(BIO_MOLDELS_DIR + "Whole NCI-PID database translated into CADBIOM formalism(and).bcx")[0])
exit()
convert_solutions_to_json(load_solutions(LOG_DIR + "sols_new_solver.txt"),
get_transitions_from_model_file(BIO_MOLDELS_DIR + "mini_test_publi.bcx")[0])
exit()
process_solutions(load_solutions(LOG_DIR + "sols_new_solver.txt"),
get_transitions_from_model_file(BIO_MOLDELS_DIR + "mini_test_publi.bcx")[0])
exit()
# build_graph(load_solutions(LOG_DIR + "../run/pid_and_clock_SRP9_cam_complete_o.txt"),
# get_transitions_from_model_file(BIO_MOLDELS_DIR + "pid_and_clock.bcx")[0])
process_solutions(load_solutions(LOG_DIR + "../run/pid_and_clock_SRP9_cam_complete.txt"),
get_transitions_from_model_file(BIO_MOLDELS_DIR + "pid_and_clock.bcx")[0])
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