classy-szfast 0.0.21__tar.gz → 0.0.22__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/PKG-INFO +1 -1
  2. classy_szfast-0.0.22/classy_szfast/config.py +11 -0
  3. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/classy_szfast/cosmopower.py +1 -1
  4. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/classy_szfast.egg-info/PKG-INFO +1 -1
  5. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/pyproject.toml +1 -1
  6. classy_szfast-0.0.21/classy_szfast/config.py +0 -11
  7. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/README.md +0 -0
  8. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/classy_szfast/__init__.py +0 -0
  9. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/classy_szfast/classy_sz.py +0 -0
  10. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/classy_szfast/classy_szfast.py +0 -0
  11. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/classy_szfast/cosmosis_classy_szfast_interface.py +0 -0
  12. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/classy_szfast/custom_bias/__init__.py +0 -0
  13. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/classy_szfast/custom_bias/custom_bias.py +0 -0
  14. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/classy_szfast/custom_profiles/__init__.py +0 -0
  15. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/classy_szfast/custom_profiles/custom_profiles.py +0 -0
  16. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/classy_szfast/pks_and_sigmas.py +0 -0
  17. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/classy_szfast/restore_nn.py +0 -0
  18. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/classy_szfast/suppress_warnings.py +0 -0
  19. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/classy_szfast/utils.py +0 -0
  20. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/classy_szfast.egg-info/SOURCES.txt +0 -0
  21. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/classy_szfast.egg-info/dependency_links.txt +0 -0
  22. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/classy_szfast.egg-info/requires.txt +0 -0
  23. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/classy_szfast.egg-info/top_level.txt +0 -0
  24. {classy_szfast-0.0.21 → classy_szfast-0.0.22}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: classy_szfast
3
- Version: 0.0.21
3
+ Version: 0.0.22
4
4
  Summary: The accelerator of the class_sz code from https://github.com/CLASS-SZ
5
5
  Maintainer-email: Boris Bolliet <bb667@cam.ac.uk>
6
6
  License: MIT
@@ -0,0 +1,11 @@
1
+ import os
2
+
3
+ import get_cosmopower_emus
4
+ import class_sz_data
5
+
6
+ def get_cosmopower_path():
7
+ get_cosmopower_emus.set()
8
+ return os.getenv('PATH_TO_CLASS_SZ_DATA')
9
+
10
+ path_to_class_sz_data = get_cosmopower_path()
11
+ class_sz_data.get_data_from_class_sz_repo(path_to_class_sz_data)
@@ -224,7 +224,7 @@ def split_emulator_string(input_string):
224
224
  for mp in cosmo_model_list:
225
225
  folder, version = split_emulator_string(mp)
226
226
  # print(folder, version)
227
- path_to_emulators = path_to_cosmopower_organization + '/' + folder +'/'
227
+ path_to_emulators = path_to_class_sz_data + '/' + folder +'/'
228
228
 
229
229
  cp_tt_nn[mp] = Restore_NN(restore_filename=path_to_emulators + 'TTTEEE/' + emulator_dict[mp]['TT'])
230
230
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: classy_szfast
3
- Version: 0.0.21
3
+ Version: 0.0.22
4
4
  Summary: The accelerator of the class_sz code from https://github.com/CLASS-SZ
5
5
  Maintainer-email: Boris Bolliet <bb667@cam.ac.uk>
6
6
  License: MIT
@@ -3,7 +3,7 @@ requires = ["setuptools", "wheel"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
- version = "0.0.21"
6
+ version = "0.0.22"
7
7
  license = { text = "MIT" }
8
8
  name = "classy_szfast"
9
9
  maintainers = [{name = "Boris Bolliet",email="bb667@cam.ac.uk"}]
@@ -1,11 +0,0 @@
1
- import os
2
-
3
- import get_cosmopower_emus
4
- import class_sz_data
5
-
6
- def get_cosmopower_path():
7
- get_cosmopower_emus.set()
8
- return os.getenv('PATH_TO_COSMOPOWER_ORGANIZATION')
9
-
10
- path_to_cosmopower_organization = get_cosmopower_path()
11
- class_sz_data.get_data_from_class_sz_repo(path_to_cosmopower_organization)
File without changes
File without changes