Skip to content

Commit

Permalink
BUG: fixed path call
Browse files Browse the repository at this point in the history
Fixed the path call to use the resource library correctly.
  • Loading branch information
aburrell committed Oct 19, 2023
1 parent 02d2f52 commit bd2e056
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 @@ -11,5 +11,6 @@
from pysatSpaceWeather import instruments # noqa F401

__version__ = metadata.version('pysatSpaceWeather')
test_data_path = str(
resources.path(__package__, path.join('tests', 'test_data')).__enter__())
test_data_path = path.join(
path.split(str(resources.path(__package__, '__init__.py').__enter__()))[0],
'tests', 'test_data')

0 comments on commit bd2e056

Please sign in to comment.