diff --git a/scripts/ezfio_interface/ei_handler.py b/scripts/ezfio_interface/ei_handler.py index 91682f9e..a02b13d5 100755 --- a/scripts/ezfio_interface/ei_handler.py +++ b/scripts/ezfio_interface/ei_handler.py @@ -70,9 +70,9 @@ def is_bool(str_): Take a string, if is a bool return the conversion into fortran and ocaml. """ - if str_.lower() in ['true', '.true.']: + if "true" in str_.lower(): return Type(None, "true", ".True.") - elif str_.lower() in ['false', '.false.']: + elif "false" in str_.lower(): return Type(None, "false", ".False") else: raise TypeError diff --git a/src/CAS_SD/EZFIO.cfg b/src/CAS_SD/EZFIO.cfg index 5629e90b..7f27f95a 100644 --- a/src/CAS_SD/EZFIO.cfg +++ b/src/CAS_SD/EZFIO.cfg @@ -8,7 +8,7 @@ default: 10000 type: logical doc: If true, compute the PT2 at the end of the selection interface: input -default: true +default: True [PT2_max] type: PT2_energy diff --git a/src/CISD_SC2_selected/EZFIO.cfg b/src/CISD_SC2_selected/EZFIO.cfg index a97e2d76..b76eac5d 100644 --- a/src/CISD_SC2_selected/EZFIO.cfg +++ b/src/CISD_SC2_selected/EZFIO.cfg @@ -8,7 +8,7 @@ default: 10000 type: logical doc: If true, compute the PT2 at the end of the selection interface: input -default: true +default: True [PT2_max] type: PT2_energy diff --git a/src/Full_CI/EZFIO.cfg b/src/Full_CI/EZFIO.cfg index f59e094f..89679d1a 100644 --- a/src/Full_CI/EZFIO.cfg +++ b/src/Full_CI/EZFIO.cfg @@ -14,7 +14,7 @@ default: 10000 type: logical doc: If true, compute the PT2 at the end of the selection interface: input -default: true +default: True [PT2_max] type: PT2_energy