Commit e60f80cc5684d5a4165e5da3ab1676865472b66a
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,22 +792,22 @@ std::string ctselect::check_infile(const std::string& filename) const | ||
| 792 | std::vector<std::string> missing; | 792 | std::vector<std::string> missing; |
| 793 | 793 | ||
| 794 | // Check for existence of TIME column | 794 | // Check for existence of TIME column |
| 795 | - if (!table->hascolumn("TIME")) { | 795 | + if (!table->contains("TIME")) { |
| 796 | missing.push_back("TIME"); | 796 | missing.push_back("TIME"); |
| 797 | } | 797 | } |
| 798 | 798 | ||
| 799 | // Check for existence of ENERGY column | 799 | // Check for existence of ENERGY column |
| 800 | - if (!table->hascolumn("ENERGY")) { | 800 | + if (!table->contains("ENERGY")) { |
| 801 | missing.push_back("ENERGY"); | 801 | missing.push_back("ENERGY"); |
| 802 | } | 802 | } |
| 803 | 803 | ||
| 804 | // Check for existence of RA column | 804 | // Check for existence of RA column |
| 805 | - if (!table->hascolumn("RA")) { | 805 | + if (!table->contains("RA")) { |
| 806 | missing.push_back("RA"); | 806 | missing.push_back("RA"); |
| 807 | } | 807 | } |
| 808 | 808 | ||
| 809 | // Check for existence of DEC column | 809 | // Check for existence of DEC column |
| 810 | - if (!table->hascolumn("DEC")) { | 810 | + if (!table->contains("DEC")) { |
| 811 | missing.push_back("DEC"); | 811 | missing.push_back("DEC"); |
| 812 | } | 812 | } |
| 813 | 813 |