-
-
Notifications
You must be signed in to change notification settings - Fork 423
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
tardis/data/tardis_example_config.yml is not a valid config file #521
Comments
It looks like atom_data.h5 isn't a valid atomic database for the current version either, so option 2 doesn't work easily. |
@lukeshingles A couple of points. TARDIS or other python packages should not be run from within their structure. the I think for now we leave them as is (as the documentation is not pointing in this direction), but we'll leave this issue open to remind us to clean this in the future. does this sound like a plan @lukeshingles ? |
@wkerzendorf independently of whether or not one should run tardis within its own structure, I think @lukeshingles has a point. Doesn't make much sense to keep stuff around which is deprecated and/or incompatible with the current code. |
With the current config (@ftsamis) system, this example file still crashes
Still some work to do :) |
The example files should be deleted in the data directory |
@wkerzendorf I was thinking the same, but on the other hand, I prefer having the example yml file version controlled, rather than in an arbitrary zip file somewhere. Would it be a good idea now that we have https://github.com/tardis-sn/tardis-atomdata to change the documentation a bit so it directs users to fetch the yml from tardis-sn/tardis branch and the atom data from the tardis-sn/tardis-atomdata branch? If not, the example files should be indeed removed from the branch. Edit: Maybe, even better, create a new repo tardis-sn/tardis-example which would track a tardis_example.yml and any other text files and have an external reference (with git submodule) to the atomdata Edit 2: This is an example of what it would look like: https://github.com/ftsamis/tardis-example. Not sure if it will be very helpful though, since the atomic data are zipped, and one would have to download the other h5 files from the atomdata repo too. |
@ftsamis - the example file will likely go away and unseres will only download the atomic data file and look at examples in the documentation |
Let's clean up the tardis working tree for 2.0 |
Resolved by #797. |
Just to get tardis started on something, I tried running 'tardis tardis_example_config.yml output_spectrum.dat' in the folder 'tardis/data', which resulted in the yaml parsing errors.
It looks like this file is an old version of tardis_example.yml from https://www.dropbox.com/s/svvyr5i7m8ouzdt/tardis_example.tar.gz
So a couple of possible solutions:
The text was updated successfully, but these errors were encountered: