Changeset 3037
- Timestamp:
- 04/30/15 14:58:06 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/CalibrationManager.cpp
r2923 r3037 311 311 assert_<AipsError>(!target_.null(), "You have to set target scantable first."); 312 312 // will match DV01-25, DA41-65, PM01-04, CM01-12 313 Regex reant("^(DV(0[1-9]|1[0-9]|2[0-5])|DA(4[1-9]|5[0-9]|6[0-5])|PM0[1-4]|CM(0[1-9]|1[ 1,2]))$");313 Regex reant("^(DV(0[1-9]|1[0-9]|2[0-5])|DA(4[1-9]|5[0-9]|6[0-5])|PM0[1-4]|CM(0[1-9]|1[0-2]))$"); 314 314 const String antname = target_->getAntennaName(); 315 315 return (reant.match(antname.c_str(), antname.size()) != String::npos);
Note:
See TracChangeset
for help on using the changeset viewer.