Changeset 1199 for framspy/FramsticksLib.py
- Timestamp:
- 02/06/23 01:14:15 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/FramsticksLib.py
r1196 r1199 70 70 ec.close() 71 71 print(ec.messages) # output all caught messages 72 assert ec.error_count._value() == 0, "Problem while importing file '%s'" % simfile # make missing files fatal because error messages are easy to overlook 72 if ec.error_count._value() > 0: 73 raise ValueError("Problem while importing file '%s'" % simfile) # make missing files or incorrect paths fatal because they would not stop Framsticks from further processing, and error messages are easy to overlook in output 73 74 74 75
Note: See TracChangeset
for help on using the changeset viewer.