Skip to content

Commit

Permalink
Remove KernelPool
Browse files Browse the repository at this point in the history
  • Loading branch information
chkim-usgs committed Dec 9, 2024
1 parent 67f7a6a commit 7474fb2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions isis/src/mro/apps/hicrop/hicrop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,20 +81,19 @@ namespace Isis {
// originalStartTime() and time2clock()
IString ckFileName = ui.GetFileName("CK");

SpiceQL::KernelPool &kPool = SpiceQL::KernelPool::getInstance();
kPool.load(FileName(QString::fromStdString(ckFileName)).expanded().toLatin1().data());
SpiceQL::load(FileName(QString::fromStdString(ckFileName)).expanded().toLatin1().data());

if (ui.WasEntered("LSK")) {
IString lskFileName = ui.GetFileName("LSK");
kPool.load(FileName(QString::fromStdString(lskFileName)).expanded().toLatin1().data());
SpiceQL::load(FileName(QString::fromStdString(lskFileName)).expanded().toLatin1().data());
}else{
}

if (ui.WasEntered("SCLK")) {
IString sclkFileName = ui.GetFileName("SCLK");
kPool.load(FileName(QString::fromStdString(sclkFileName)).expanded().toLatin1().data());
SpiceQL::load(FileName(QString::fromStdString(sclkFileName)).expanded().toLatin1().data());
}else{
kPool.loadClockKernels();
// SpiceQL::loadClockKernels();
}

// get values from the labels needed to compute the line rate and the
Expand Down

0 comments on commit 7474fb2

Please sign in to comment.