Commit e60f80cc5684d5a4165e5da3ab1676865472b66a

Authored by Jürgen Knödlseder
1 parent 8736279c

GFitsTable::hascolumn() method has been renamed to GFitsTable::contains().

Showing 1 changed file with 4 additions and 4 deletions
src/ctselect/ctselect.cpp
... ... @@ -792,22 +792,22 @@ std::string ctselect::check_infile(const std::string& filename) const
792 792 std::vector<std::string> missing;
793 793  
794 794 // Check for existence of TIME column
795   - if (!table->hascolumn("TIME")) {
  795 + if (!table->contains("TIME")) {
796 796 missing.push_back("TIME");
797 797 }
798 798  
799 799 // Check for existence of ENERGY column
800   - if (!table->hascolumn("ENERGY")) {
  800 + if (!table->contains("ENERGY")) {
801 801 missing.push_back("ENERGY");
802 802 }
803 803  
804 804 // Check for existence of RA column
805   - if (!table->hascolumn("RA")) {
  805 + if (!table->contains("RA")) {
806 806 missing.push_back("RA");
807 807 }
808 808  
809 809 // Check for existence of DEC column
810   - if (!table->hascolumn("DEC")) {
  810 + if (!table->contains("DEC")) {
811 811 missing.push_back("DEC");
812 812 }
813 813  
... ...