- Timestamp:
- 06/27/12 12:58:28 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STWriter.cpp
r2023 r2577 40 40 41 41 #include <atnf/PKSIO/PKSrecord.h> 42 #ifndef NOPKSMS 42 43 #include <atnf/PKSIO/PKSMS2writer.h> 44 #endif 43 45 #include <atnf/PKSIO/PKSSDwriter.h> 44 46 #include <atnf/PKSIO/SrcType.h> … … 66 68 t.upcase(); 67 69 if (t == "MS2") { 70 #ifdef NOPKSMS 71 throw (AipsError("MS2 OUTPUT FORMAT IS NO LONGER SUPPORTED")); 72 #else 68 73 writer_ = new PKSMS2writer(); 74 #endif 69 75 } else if (t == "SDFITS") { 70 76 writer_ = new PKSSDwriter(); … … 93 99 t.upcase(); 94 100 if (t== "MS2") { 101 #ifdef NOPKSMS 102 throw (AipsError("MS2 OUTPUT FORMAT IS NO LONGER SUPPORTED")); 103 #else 95 104 writer_ = new PKSMS2writer(); 105 #endif 96 106 } else if (t== "SDFITS") { 97 107 writer_ = new PKSSDwriter();
Note:
See TracChangeset
for help on using the changeset viewer.