From 7b4ea03e29589dd7b4bebb2d16654d0ab7fa5963 Mon Sep 17 00:00:00 2001 From: Casper Steinmann Date: Fri, 8 Jul 2016 23:04:42 +0100 Subject: [PATCH] Default config should be to _not_ use atom names --- CHANGES.md | 11 +++++++++++ src/config.py | 9 ++++----- src/strings.py | 2 +- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 0c9b143..41d4a54 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,14 @@ +FragIt v1.6.1 Release Notes +=========================== + +This is a bug-fix and minor improvements release. + +Updates since v1.6.0 + + * Fixes a default value in the base configuration + for FMO input files such that atom names are + ignored + FragIt v1.6.0 Release Notes =========================== diff --git a/src/config.py b/src/config.py index 8e38077..39fbff0 100644 --- a/src/config.py +++ b/src/config.py @@ -61,7 +61,7 @@ def __init__(self, *args): self['output']['writepymol']=False self['output']['writejmol']=False self['output']['centralfragment']=0 - self['output']['useatomnames'] = True + self['output']['useatomnames'] = False # Fragmentation patterns are set in the individual settings below self['fragmentpatterns'] = dict() @@ -124,10 +124,6 @@ def __init__(self): # protection patterns are needed to remove small fragments self['protectpatterns']['nterminal']="[$([NH2]),$([NH3])]CC(=O)[$(NCC=O)]" - # don't use atom names when using FMO. This can cause - # annoying errors in GAMESS - self['output']['useatomnames'] = False - class FragItDataPE(FragItDataBase): """ Initializes FragIt with options which are applicable to the polarizable embedding (PE) approach. This is mostly tuned @@ -149,6 +145,9 @@ def __init__(self): # utilize the MFCC principle. Standard is cap-order 2 (for peptides) self['mfcc']['order'] = 2 + # use atom names when using PE. + self['output']['useatomnames'] = True + # export all config settings so they can be # loaded at a later time. diff --git a/src/strings.py b/src/strings.py index 10ccf6f..8426426 100644 --- a/src/strings.py +++ b/src/strings.py @@ -2,7 +2,7 @@ Copyright (C) 2011-2016 Casper Steinmann """ -version = ("1","6","0") +version = ("1","6","1") version_str = ".".join(version) __doc__ = """FragIt fragments molecules for fragment based methods using in quantum chemistry.