Commit f3504d61 authored by Berk Onat's avatar Berk Onat

Corrected typo for 'nowarnings' keyword values.

parent 2548e952
......@@ -512,7 +512,7 @@ class OpenMolfile(object):
self.kwords["silent"])
#libpymolfile.molfile_finish()
else:
if self.kwords["nowarnings"] is True:
if self.kwords["nowarnings"] is False:
warnings.warn("Pymolfile can not find a plugin to open the '" +
self.kwords["topology_format"] + "' file format of the file " +
self.kwords["topology"])
......@@ -532,7 +532,7 @@ class OpenMolfile(object):
num_atoms,
self.kwords["silent"])
else:
if self.kwords["nowarnings"] is True:
if self.kwords["nowarnings"] is False:
warnings.warn("Pymolfile can not find a plugin to open the '" + self.kwords["file_format"] +
"' file format of the file " + self.kwords["file_name"])
......
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