Changeset 1309
- Timestamp:
- 06/25/24 02:48:08 (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/FramsticksLib.py
r1306 r1309 168 168 ec.close() 169 169 if ec.error_count._value() > 0: 170 print('\nErrors while evaluating this genotype list:\n',genotype_list,sep='\t') 170 171 print(ec.messages) # if errors occurred, output all caught messages for debugging 171 172 raise RuntimeError("[ERROR] %d error(s) and %d warning(s) while evaluating %d genotype(s)" % (ec.error_count._value(), ec.warning_count._value(), len(genotype_list))) # make errors fatal; by default they stop the simulation anyway so let's not use potentially incorrect or partial results and fix the cause first.
Note: See TracChangeset
for help on using the changeset viewer.