Skip to content

Commit 37c18cf

Browse files
authored
Add config/metadata.json to PreprocessDataset (#131)
* Add metadata to the PreprocessDataset * Increment version * Add test files
1 parent d653253 commit 37c18cf

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

cirro/helpers/preprocess_dataset.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ def __init__(self, s3_dataset: str, config_directory='config'):
3636
str(Path(config_directory, "params.json")),
3737
)
3838

39+
self.metadata = self._read_json(
40+
str(Path(config_directory, "metadata.json")),
41+
)
42+
3943
# Log to STDOUT
4044
log_formatter = logging.Formatter(
4145
'%(asctime)s %(levelname)-8s [PreprocessDataset] %(message)s'

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "cirro"
3-
version = "1.2.9"
3+
version = "1.2.10"
44
description = "CLI tool and SDK for interacting with the Cirro platform"
55
authors = ["Cirro Bio <[email protected]>"]
66
license = "MIT"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

0 commit comments

Comments
 (0)