Changes for Toolkit2/exahype/specfiles/specfile1_reader.py: 19 added lines, 11 removed lines.
Original line number
Diff line number
Diff line
@@ -249,7 +249,6 @@ class SpecFile1Reader():
ifterm=="pointsources":
try:
n_point_sources=int(token_s.split(":")[-1])
self.log.warning("WARNING: Found 'pointsources' term. Ensure that you specify field 'point_sources' in the generated JSON file.")
found_token=True
except:
raiseSpecFile1ParserError("Number of point sources could not be parsed in original ExaHyPE specification file (is: '%s'. expected: 'pointsources':<int>)!"%token_s)
Changes for Toolkit2/exahype/toolkit/controller.py: 14 added lines, 3 removed lines.
Original line number
Diff line number
Diff line
@@ -214,6 +214,7 @@ class Controller():
exceptExceptionase:
self.log.error("Could not read specification file '%s': %s"%(self.specfileName,str(e)))
self.log.error("In order to fix this problem, please fix the format of your file with the command line flag --format=XXX where XXX is a supported specification file format.")