Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
move galpyrc
Browse files Browse the repository at this point in the history
Signed-off-by: Nathaniel Starkman (@nstarman) <nstarkman@protonmail.com>
  • Loading branch information
nstarman committed Sep 11, 2021
1 parent 0e5ca5a commit cda4f22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
File renamed without changes.
4 changes: 4 additions & 0 deletions discO/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
SKIP_NO_GALPY = pytest.mark.skipif(not HAS_GALPY, reason="needs galpy")
if not HAS_GALPY:
collect_ignore.append("plugin/galpy/")
else:
from galpy.util import config as galpy_config
galpy_config.__config__["astropy"]["astropy-units"] = "True"
galpy_config.__config__["astropy"]["astropy-coords"] = "True"


# ------------------------------------------------------
Expand Down

0 comments on commit cda4f22

Please sign in to comment.