bug fixed in input/openQCD

This commit is contained in:
Fabian Joswig 2021-10-11 11:46:00 +01:00
parent d8437fe122
commit a93944cf27

View file

@ -27,8 +27,6 @@ def read_rwms(path, prefix, version='2.0', names=None, **kwargs):
known_oqcd_versions = ['1.4','1.6','2.0']
if not (version in known_oqcd_versions):
raise Exception('Unknown openQCD version defined!')
else: #Set defaults for openQCD Version to be version 1.4, emulate the old behaviour of this method
# Deprecate this kwarg in version 2.0.
print("Working with openQCD version " + version)
if 'postfix' in kwargs:
postfix = kwargs.get('postfix')