-
-
Notifications
You must be signed in to change notification settings - Fork 409
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
Transition from atomic-dataset config option to tardis-refdata #775
Conversation
Now config option "atomic-dataset" is changed to "tardis-refdata". This points to Tardis reference files folder .
Using master branch of tardis-refdata repository
@wkerzendorf @yeganer You can review this PR. @wkerzendorf Can you merge PR#2 in |
Change args.atomic_dataset to args.tardis_refdata
.travis.yml
Outdated
@@ -20,28 +20,29 @@ env: | |||
- ASTROPY_USE_SYSTEM_PYTEST=1 | |||
- SETUP_CMD='test' | |||
- TEST_MODE='normal' | |||
- ATOM_DATA_URL='https://github.com/tardis-sn/tardis-atomdata/raw/master/kurucz_cd23_chianti_H_He.h5.zip' | |||
- TARDIS_REF_DATA_URL='https://github.com/tardis-sn/tardis-refdata.git' | |||
- TARDIS_REF_VERSION='0.2' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please no version for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks very good. Can you please try to run the integration tests on your machine. I think there might be more changes needed to not break them
pytest.config.getvalue('atomic-dataset'))) | ||
assert os.path.exists(self.atom_data_filename), ("{0} atomic datafiles" | ||
def setup(self, atomic_data_fname): | ||
assert os.path.exists(atomic_data_fname), ("{0} atomic datafiles" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move the check to the fixture
@wkerzendorf @yeganer I have updated this PR . |
This PR replaces
atomic-dataset
config option withtardis-refdata
. Nowtardis-refdata
should point to Tardis reference folder. Repository Link