From 92ce14a9b0ee7c709cca0f7708c086d587790cb7 Mon Sep 17 00:00:00 2001 From: Thomas Applencourt Date: Mon, 13 Apr 2015 09:51:36 +0200 Subject: [PATCH] true -> True for the convention --- scripts/ezfio_interface/ei_handler.py | 4 ++-- src/CAS_SD/EZFIO.cfg | 2 +- src/CISD_SC2_selected/EZFIO.cfg | 2 +- src/Full_CI/EZFIO.cfg | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) 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