-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Added - forced molecule name in Loader with *molecule* keyword ### Changed - increased loading performance for Dace data ### Fixed - ascii conversion for strings in ExoMol data
- Loading branch information
1 parent
72962a4
commit 4d3d160
Showing
10 changed files
with
72 additions
and
16 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
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,33 +1,48 @@ | ||
import os.path | ||
|
||
from datetime import date | ||
|
||
__all__ = [ | ||
'__pkg_name__', | ||
"__title__", | ||
"__summary__", | ||
"__url__", | ||
"__commit__", | ||
"__author__", | ||
"__email__", | ||
"__license__", | ||
"__copyright__", | ||
"__branch__", | ||
"__commit__", | ||
"__base_dir__" | ||
] | ||
|
||
try: | ||
base_dir = os.path.dirname(os.path.abspath(__file__)) | ||
base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) | ||
except NameError: | ||
base_dir = None | ||
|
||
__title__ = "rapoc" | ||
__summary__ = "Rosseland And Planck Opacity Converter" | ||
__url__ = "https://github.com/ExObsSim/Rapoc-public" | ||
|
||
if base_dir is not None and os.path.exists(os.path.join(base_dir, ".commit")): | ||
with open(os.path.join(base_dir, ".commit")) as fp: | ||
__commit__ = fp.read().strip() | ||
__base_dir__ = base_dir | ||
__branch__ = None | ||
if base_dir is not None and os.path.exists(os.path.join(base_dir, ".git")): | ||
git_folder = os.path.join(base_dir, ".git") | ||
with open(os.path.join(git_folder, "HEAD")) as fp: | ||
ref = fp.read().strip() | ||
ref_dir = ref[5:] | ||
__branch__ = ref[16:] | ||
try: | ||
with open(os.path.join(git_folder, ref_dir)) as fp: | ||
__commit__ = fp.read().strip() | ||
except FileNotFoundError: | ||
__commit__ = None | ||
else: | ||
__commit__ = None | ||
|
||
__pkg_name__ = "rapoc" | ||
__title__ = "RAPOC" | ||
__summary__ = "Rosseland And Planck Opacity Converter" | ||
__url__ = "https://github.com/ExObsSim/Rapoc-public" | ||
__author__ = "Lorenzo V. Mugnai, Darius Modirrousta-Galian" | ||
__email__ = "lorenzo.mugnai@uniroma1.it" | ||
|
||
__license__ = "BSD-3-Clause" | ||
__copyright__ = "2020 %s" % __author__ | ||
__copyright__ = '2020-{:d}, {}'.format(date.today().year, __author__) |
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 +1 @@ | ||
__version__ = '1.0.5' | ||
__version__ = '1.0.8' |
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