Skip to content

Commit a10a42c

Browse files
author
Steven Ayoub
committed
Fixed verion settings
1 parent 1a967fb commit a10a42c

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

blues/integrators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class AlchemicalExternalLangevinIntegrator(AlchemicalNonequilibriumLangevinInteg
9999

100100
def __init__(self,
101101
alchemical_functions,
102-
splitting="R V O H O V R",
102+
splitting="H V R O V R H",
103103
temperature=298.0 * openmm.unit.kelvin,
104104
collision_rate=1.0 / openmm.unit.picoseconds,
105105
timestep=1.0 * openmm.unit.femtoseconds,

blues/moves.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,12 @@ def __init__(self, structure, resname='LIG', random_state=None):
195195
self.resname = resname
196196
self.random_state = random_state
197197
self.atom_indices = self.getAtomIndices(structure, self.resname)
198-
atom_indices_1based = [i + 1 for i in self.atom_indices]
199-
self.topology = structure[atom_indices_1based].topology
198+
#atom_indices_1based = [i + 1 for i in self.atom_indices]
199+
self.topology = structure[self.atom_indices].topology
200200
self.totalmass = 0
201201
self.masses = []
202202
self.center_of_mass = None
203-
self.positions = structure[atom_indices_1based].positions
203+
self.positions = structure[self.atom_indices].positions
204204
self._calculateProperties()
205205

206206
def getAtomIndices(self, structure, resname):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ def find_package_data(data_root, package_root):
8282
'tox',
8383
],
8484
zip_safe=False,
85-
include_package_data=True)
85+
include_package_data=True)

versioneer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,9 @@ def get_config_from_root(root):
336336
# configparser.NoOptionError (if it lacks "VCS="). See the docstring at
337337
# the top of versioneer.py for instructions on writing your setup.cfg .
338338
setup_cfg = os.path.join(root, "setup.cfg")
339-
parser = configparser.SafeConfigParser()
339+
parser = configparser.ConfigParser()
340340
with open(setup_cfg, "r") as f:
341-
parser.readfp(f)
341+
parser.read_file(f)
342342
VCS = parser.get("versioneer", "VCS") # mandatory
343343

344344
def get(parser, name):
@@ -1834,4 +1834,4 @@ def scan_setup_py():
18341834
errors = do_setup()
18351835
errors += scan_setup_py()
18361836
if errors:
1837-
sys.exit(1)
1837+
sys.exit(1)

0 commit comments

Comments
 (0)