astrorama / SourceXtractorPlusPlus

SourceXtractor++, the next generation SExtractor
https://astrorama.github.io/SourceXtractorPlusPlus/
GNU Lesser General Public License v3.0
72 stars 9 forks source link

Couple of fixes for assoc mode #492

Closed ayllon closed 1 year ago

ayllon commented 2 years ago

While writing a test for the assoc mode I hit these two errors (or opaque errors).

  1. AssocMode may be specified as output, but no columns copied (makes sense if assoc-filter is all)
  2. When the columns given on assoc-copy are out of bounds, the error just said "can not read assoc catalog". Now it is more explicit:
2022-07-11T13:54:46CEST SourceXtractor FATAL : Can't either open or read assoc catalog: /home/aalvarez/Work/Projects/SourceXtractor-litmus/tests/../data/sim12/sim12_assoc.fits (Column index 4 is out of bounds)