10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-06-25 22:52:15 +02:00

Fix ei_handler ocaml_global

This commit is contained in:
Thomas Applencourt 2015-06-19 10:32:19 +02:00
parent d7c0b755ab
commit c6128f7a22
2 changed files with 3 additions and 5 deletions

View File

@ -609,7 +609,7 @@ def save_ocaml_input(module_lower, str_ocaml_input):
def get_l_module_with_auto_generate_ocaml_lower():
"""
Get all module who have EZFIO.cfg with input data
Get all module who have EZFIO.cfg with ocaml data
(NB `search` in all the ligne and `match` only in one)
"""
@ -625,7 +625,7 @@ def get_l_module_with_auto_generate_ocaml_lower():
l_module_lower = []
import re
p = re.compile(ur'interface:\s+input')
p = re.compile(ur'interface:.*ocaml')
for f in l_folder:
path = "{0}/{1}/EZFIO.cfg".format(QP_SRC, f)
@ -763,6 +763,7 @@ if __name__ == "__main__":
# ~#~#~#~# #
l_module = get_l_module_with_auto_generate_ocaml_lower()
print l_module
str_ocaml_qp_edit, str_ocaml_input_auto = create_ocaml_input_global(l_module)
save_ocaml_input_auto(str_ocaml_input_auto)

View File

@ -350,9 +350,6 @@ def check_convert(path_out):
cmd = "qp_run SCF {0}.ezfio".format(path_out)
subprocess.check_call([cmd], shell=True)
cmd = "ls -R {0}.ezfio/".format(path_out)
subprocess.check_call([cmd], shell=True)
# ~#~#~#~#~ #
# C h e c k #
# ~#~#~#~#~ #