Skip to content

Commit

Permalink
Merge pull request #2 from chkim-usgs/spiceql-int
Browse files Browse the repository at this point in the history
some test fixes
  • Loading branch information
Kelvinrr authored Nov 1, 2024
2 parents 8882d80 + afc1eb2 commit d01e81e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ale/base/data_naif.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __enter__(self):
to get the kernels furnished.
"""
if self.kernels:
[pyspiceql.KernelPool.getInstance().load(k) for k in self.kernels]
[pyspiceql.load(k) for k in self.kernels]
return self

def __exit__(self, exc_type, exc_val, exc_tb):
Expand All @@ -40,7 +40,7 @@ def __exit__(self, exc_type, exc_val, exc_tb):
kernels can be unloaded.
"""
if self.kernels:
[pyspiceql.KernelPool.getInstance().unload(k) for k in self.kernels]
[pyspiceql.unload(k) for k in self.kernels]

@property
def kernels(self):
Expand Down
1 change: 1 addition & 0 deletions ale/drivers/apollo_drivers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import pvl
import spiceypy as spice

from ale.base import Driver
from ale.base.data_naif import NaifSpice
Expand Down
1 change: 1 addition & 0 deletions ale/drivers/lo_drivers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import numpy as np
import spiceypy as spice
from ale.base.data_naif import NaifSpice
from ale.base.label_isis import IsisLabel
from ale.base.type_sensor import Framer
Expand Down

0 comments on commit d01e81e

Please sign in to comment.