bcalden / ClusterPyXT

The Galaxy Cluster ‘Pypeline’ for X-ray Temperature Maps
BSD 3-Clause "New" or "Revised" License
27 stars 8 forks source link

Regions with zero area in the sources.reg file cause a crash #1

Closed bcalden closed 1 year ago

bcalden commented 5 years ago

If the sources.reg file contains regions of zero area, a warning is thrown and passed as part of a filename string (near line 478 in ciao.py). This string is then used in the dmextract command at line 478 which crashes the application as it contains warning messages not expected by dmextract.