diff --git a/appletree/config.py b/appletree/config.py index 5d7e63b..14efda4 100644 --- a/appletree/config.py +++ b/appletree/config.py @@ -344,7 +344,7 @@ def lineage_hash(self): "llh_name": self.llh_name, "method": self.method, "file_path": os.path.basename(self.file_path), - "sha256": calculate_sha256(self.file_path), + "sha256": calculate_sha256(get_file_path(self.file_path)), } ) diff --git a/tests/test_component.py b/tests/test_component.py index 5d03d54..70ed06b 100644 --- a/tests/test_component.py +++ b/tests/test_component.py @@ -1,7 +1,7 @@ import pytest +import numpy as np import pandas as pd -from jax import numpy as jnp import appletree as apt from appletree.utils import get_file_path @@ -26,7 +26,7 @@ order=[0, 1], x_clip=[0, 100], y_clip=[1e2, 1e4], - which_np=jnp, + which_np=np, )