Commit a89cfae5 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

No commit message

No commit message
parent b4ffb0a5
......@@ -617,7 +617,11 @@ class AbstractInputFile(AbstractIOFile):
return [input, False]
def check(self, ifile):
eval(self.file_format)(ifile)
try:
eval(self.file_format)
function_exists = True
except: function_exists = False
if function_exists: eval(self.file_format)(ifile)
class AbstractOutputFile(AbstractIOFile):
......
Supports Markdown
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