| 299 | } |
| 300 | |
| 301 | void doit2(Pvl &lab) { |
| 302 | try { |
| 303 | int lines, samples; |
| 304 | ProjectionFactory::CreateForCube(lab, samples, lines); |
| 305 | } |
| 306 | catch(IException &e) { |
| 307 | e.print(); |
| 308 | } |
| 309 | cout << endl; |
| 310 | } |
| 311 | |
| 312 | void ReportError(QString err) { |
| 313 | cout << err.replace(QRegularExpression("\\[[^\\]]*\\.plugin\\]"), "[isis/lib/Projection.plugin]") << endl << endl; |