We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6ccb6b commit 34f2fccCopy full SHA for 34f2fcc
serpentTools/parsers/microxs.py
@@ -182,10 +182,10 @@ def _precheck(self):
182
"Parser: {}\nFile: {}".format(self,
183
self.filePath))
184
for tline in fid:
185
- if 'NFY' in tline:
+ if 'NFY' in tline or 'XS_' in tline:
186
return
187
- raise SerpentToolsException("Fission yields values were not "
188
- "found in {}".format(self.filePath))
+ raise SerpentToolsException("Fission yields and/or XS values were "
+ "not found in {}".format(self.filePath))
189
190
def _postcheck(self):
191
"""ensure the parser grabbed expected results."""
0 commit comments