Commit b2900404 authored by M J Harvey's avatar M J Harvey
Browse files

removed permissive arg on constructor to keep python 2 happy

parent 3dee925d
...@@ -100,7 +100,7 @@ class CharmmParameterSet(object): ...@@ -100,7 +100,7 @@ class CharmmParameterSet(object):
except ValueError: except ValueError:
raise CharmmFileError('Could not convert %s to %s' % (msg, type)) raise CharmmFileError('Could not convert %s to %s' % (msg, type))
def __init__(self, *args, permissive=False): def __init__(self, *args ):
# Instantiate the list types # Instantiate the list types
self.atom_types_str = dict() self.atom_types_str = dict()
self.atom_types_int = dict() self.atom_types_int = dict()
...@@ -136,7 +136,7 @@ class CharmmParameterSet(object): ...@@ -136,7 +136,7 @@ class CharmmParameterSet(object):
else: else:
raise TypeError('Unrecognized file type: %s' % arg) raise TypeError('Unrecognized file type: %s' % arg)
for top in tops: self.readTopologyFile(top) for top in tops: self.readTopologyFile(top)
for par in pars: self.readParameterFile(par, permissive=permissive ) for par in pars: self.readParameterFile(par)
for strf in strs: self.readStreamFile(strf) for strf in strs: self.readStreamFile(strf)
@classmethod @classmethod
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment