Skip to content

Commit 2c2eb14

Browse files
committed
fix a few names
1 parent 29cb21b commit 2c2eb14

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/vivarium_testing_utils/automated_validation/data_loader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ def add_to_datasets(self, dataset_key: str, source: str, data: pd.DataFrame) ->
3838
"""Update the raw_datasets cache with the given data."""
3939
self.raw_datasets.update({source: {dataset_key: data}})
4040

41-
def sim_outputs(self) -> list[str]:
41+
def get_sim_outputs(self) -> list[str]:
4242
"""Get a list of the datasets in the given simulation output directory.
4343
Only return the filename, not the extension."""
4444
return [str(f.stem) for f in self.sim_output_dir.glob("*.parquet")]
4545

46-
def artifact_keys(self) -> list[str]:
46+
def get_artifact_keys(self) -> list[str]:
4747
raise NotImplementedError
4848

4949
def load_from_sim(self, dataset_key: str) -> pd.DataFrame:

src/vivarium_testing_utils/automated_validation/interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def __init__(self, results_dir: str | Path, age_groups: pd.DataFrame | None):
1313
self.data_loader = DataManager(results_dir)
1414
self.comparisons = LayeredConfigTree()
1515

16-
def sim_outputs(self):
16+
def get_sim_outputs(self):
1717
return self.data_loader.sim_outputs()
1818

1919
def get_artifact_keys(self):

0 commit comments

Comments
 (0)