-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #387 from sot/agasc1p8
Allow specifying AGASC HDF5 file or latest proseco_agasc as default
- Loading branch information
Showing
13 changed files
with
91 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,6 @@ Guide | |
|
||
.. automodule:: proseco.guide | ||
:members: | ||
.. autoclass:: GuideTable | ||
:members: | ||
|
||
Fid | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,26 @@ | ||
import pytest | ||
from agasc import get_agasc_filename | ||
|
||
|
||
@pytest.fixture(autouse=True) | ||
def use_fixed_chandra_models(monkeypatch): | ||
monkeypatch.setenv("CHANDRA_MODELS_DEFAULT_VERSION", "3.48") | ||
|
||
|
||
# By default test with the latest AGASC version available including release candidates | ||
@pytest.fixture(autouse=True) | ||
def proseco_agasc_rc(monkeypatch): | ||
agasc_file = get_agasc_filename("proseco_agasc_*", allow_rc=True) | ||
monkeypatch.setenv("AGASC_HDF5_FILE", agasc_file) | ||
|
||
|
||
@pytest.fixture() | ||
def proseco_agasc_1p7(monkeypatch): | ||
agasc_file = get_agasc_filename("proseco_agasc_*", version="1p7") | ||
monkeypatch.setenv("AGASC_HDF5_FILE", agasc_file) | ||
|
||
|
||
@pytest.fixture() | ||
def miniagasc_1p7(monkeypatch): | ||
agasc_file = get_agasc_filename("miniagasc_*", version="1p7") | ||
monkeypatch.setenv("AGASC_HDF5_FILE", agasc_file) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.