-
-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Moves parse_input to IO and removes unused file * Removes unused file and imports * Separates parse_input into chunks Also cleans up imports * Deprecates old CMFGen reader and moves new one * Fixes logging import * Fixes import sorting * Consistent file naming * Consistent names and ordering for parsing functions _from_config and _from_csvy to match typical class methods Config first, CSVY second * Abundances renamed to mass fractions in IO With small extensions outside that area * Pluralise * Fixes mass fraction and density dimension mismatch for CSVY models * Adds docstring * black * Adds dummy type variable to schema for convergence Should fix read/write issue. * Cleanup of structure config reading Not really happy with it, but helps show some of the current problems with the config arrangement compared to the code * Fixes error with density time point and black * Fixes packet source re-init for custom sources Also adjusts notebook to deal with quantity-based packet frequencies * Resolve some escape sequence errors * Plural mass fractions * black * Clarify docstrings
- Loading branch information
1 parent
8aa9e3b
commit 140bb96
Showing
28 changed files
with
1,141 additions
and
2,075 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
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,18 +1,3 @@ | ||
""" | ||
A collection of subpackages and submodules to handle input and output data. | ||
A collection of subpackages and submodules to handle input and output data. | ||
""" | ||
|
||
from tardis.io.configuration.config_internal import ( | ||
get_internal_configuration, | ||
get_data_dir, | ||
) | ||
|
||
# readin model_data | ||
|
||
from tardis.io.model.readers.generic_readers import ( | ||
read_simple_ascii_abundances, | ||
) | ||
from tardis.io.model.readers.generic_readers import ( | ||
read_simple_ascii_density, | ||
) | ||
from tardis.io.model.readers.base import read_density_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from tardis.io.model.readers.stella import read_stella_model | ||
|
||
# from tardis.io.model.stella import read_stella_model | ||
from tardis.io.model.cmfgen import read_cmfgen_model | ||
from tardis.io.model.readers.cmfgen import read_cmfgen_model |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.