Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move sunpy imports so test collection works #354

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dkist/tests/generate_aia_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from astropy.time import Time
from gwcs import coordinate_frames as cf

import sunpy.map
from sunpy.net import Fido
from sunpy.net import attrs as a
from sunpy.net.jsoc import JSOCClient
Expand Down Expand Up @@ -91,6 +90,8 @@ def references_from_filenames(filename_array, relative_to=None):


def main():
import sunpy.map

from dkist_inventory.transforms import generate_lookup_table

path = Path("~/sunpy/data/jsocflare/").expanduser()
Expand Down
3 changes: 2 additions & 1 deletion dkist/tests/generate_eit_test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from astropy.time import Time
from gwcs import coordinate_frames as cf

import sunpy.map
from sunpy.time import parse_time


Expand Down Expand Up @@ -55,6 +54,8 @@ def map_to_transform(smap):


def main():
import sunpy.map

from dkist.data.test import rootdir
from dkist_inventory.asdf_generator import references_from_filenames
from dkist_inventory.header_parsing import HeaderParser
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ deps =
devdeps: numpy>=0.0.dev0
devdeps: scipy>=0.0.dev0
devdeps: matplotlib>=0.0.dev0
devdeps: sunpy>=0.0.dev0
devdeps: git+https://github.com/sunpy/sunpy
devdeps: git+https://github.com/sunpy/ndcube
devdeps: git+https://github.com/spacetelescope/gwcs
devdeps: git+https://github.com/asdf-format/asdf
Expand Down
Loading