10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-22 20:35:19 +01:00
This commit is contained in:
Thomas Applencourt 2015-03-26 17:04:57 +01:00
parent 91ac5cc2a8
commit 1a2a61edbc

View File

@ -273,10 +273,13 @@ def create_ezfio_provider(dict_ezfio_cfg):
ez_p.set_ezfio_dir(dict_info['ezfio_dir'])
ez_p.set_ezfio_name(dict_info['ezfio_name'])
# default = "{0} = {1}".format(provider_name,
# dict_info['default'].fortran)
# ez_p.set_default(default)
ez_p.set_default("stop 1")
str_ = "\n".join([" print *, '{0}/{1} not found in EZFIO file'",
" stop 1" ])
str_ = str_.format(dict_info['ezfio_dir'],
dict_info['ezfio_name'])
ez_p.set_default(str_)
ez_p.set_output("output_%s" % dict_info['ezfio_dir'])
dict_code_provider[provider_name] = str(ez_p)