Skip to content

Commit

Permalink
BUG: fixed resource usage
Browse files Browse the repository at this point in the history
Fixed resource usage by specifying full path with os.path.join.
  • Loading branch information
aburrell committed Oct 19, 2023
1 parent 5d530e6 commit 02d2f52
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pysatSpaceWeather/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
except ImportError:
import importlib_metadata as metadata
import importlib_resources as resources
from os import path

from pysatSpaceWeather import instruments # noqa F401

__version__ = metadata.version('pysatSpaceWeather')
test_data_path = str(resources.path(__package__, 'tests',
'test_data').__enter__())
test_data_path = str(
resources.path(__package__, path.join('tests', 'test_data')).__enter__())

0 comments on commit 02d2f52

Please sign in to comment.