continual-foragax 0.8.0__tar.gz → 0.8.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: continual-foragax
3
- Version: 0.8.0
3
+ Version: 0.8.1
4
4
  Summary: A continual reinforcement learning benchmark
5
5
  Author-email: Steven Tang <stang5@ualberta.ca>
6
6
  Requires-Python: >=3.8
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "continual-foragax"
3
- version = "0.8.0"
3
+ version = "0.8.1"
4
4
  description = "A continual reinforcement learning benchmark"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -30,12 +30,9 @@ build-backend = "setuptools.build_meta"
30
30
  [tool]
31
31
  [tool.commitizen]
32
32
  name = "cz_conventional_commits"
33
- version = "0.8.0"
33
+ version = "0.8.1"
34
34
  tag_format = "$version"
35
35
  version_files = ["pyproject.toml"]
36
36
 
37
37
  [tool.setuptools]
38
38
  include-package-data = true
39
-
40
- [tool.setuptools.package-data]
41
- "foragax" = ["../data/ECA_non-blended_custom/*"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: continual-foragax
3
- Version: 0.8.0
3
+ Version: 0.8.1
4
4
  Summary: A continual reinforcement learning benchmark
5
5
  Author-email: Steven Tang <stang5@ualberta.ca>
6
6
  Requires-Python: >=3.8
@@ -1,12 +1,13 @@
1
1
  """Helper functions for loading temperature data for the ForagerWeather env."""
2
2
 
3
3
  import csv
4
+ import os
4
5
  from glob import glob
5
6
 
6
7
  import jax.numpy as jnp
7
8
  import numpy as np
8
9
 
9
- DATA_PATH = "data/ECA_non-blended_custom"
10
+ DATA_PATH = os.path.join(os.path.dirname(__file__), "data", "ECA_non-blended_custom")
10
11
  FILE_PATHS = sorted(glob(f"{DATA_PATH}/TG_*.txt"))
11
12
 
12
13