Commit 95c40333 authored by Jasem Mutlaq's avatar Jasem Mutlaq

Add more debug statements to WCS stuff

parent 86bea8d1
...@@ -2144,6 +2144,9 @@ bool FITSData::loadWCS() ...@@ -2144,6 +2144,9 @@ bool FITSData::loadWCS()
return true; return true;
} }
if (Options::fITSLogging())
qDebug() << "Started WCS Data Processing...";
int status = 0; int status = 0;
char *header; char *header;
int nkeyrec, nreject, nwcs, stat[2]; int nkeyrec, nreject, nwcs, stat[2];
...@@ -2225,6 +2228,9 @@ bool FITSData::loadWCS() ...@@ -2225,6 +2228,9 @@ bool FITSData::loadWCS()
WCSLoaded = true; WCSLoaded = true;
if (Options::fITSLogging())
qDebug() << "Finished WCS Data processing...";
return true; return true;
#endif #endif
#endif #endif
...@@ -3818,6 +3824,8 @@ bool FITSData::createWCSFile(const QString &newWCSFile, double orientation, doub ...@@ -3818,6 +3824,8 @@ bool FITSData::createWCSFile(const QString &newWCSFile, double orientation, doub
{ {
QFile::remove(filename); QFile::remove(filename);
tempFile = false; tempFile = false;
if (Options::fITSLogging())
qDebug() << "Removing FITS File: " << filename;
} }
filename = newWCSFile; filename = newWCSFile;
...@@ -3948,6 +3956,9 @@ bool FITSData::createWCSFile(const QString &newWCSFile, double orientation, doub ...@@ -3948,6 +3956,9 @@ bool FITSData::createWCSFile(const QString &newWCSFile, double orientation, doub
WCSLoaded = false; WCSLoaded = false;
if (Options::fITSLogging())
qDebug() << "Finished creating WCS file: " << newWCSFile;
return true; return true;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment