Skip to content

Commit

Permalink
refs #57
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Jun 14, 2016
1 parent f41aec7 commit 3db60b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/spec2nexus/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,8 @@ def interpret(self):
continue # ignore blank lines
key = self.parent.plugin_manager.getKey(line)
if key is None:
# TODO: log message instead of raise exception
# https://github.com/prjemian/spec2nexus/issues/57
raise UnknownSpecFilePart("line %d: unknown header line: %s" % (i, line))
elif key == '#E':
pass # avoid recursion
Expand Down

0 comments on commit 3db60b4

Please sign in to comment.