Datasets:
small changes
Browse files- ark_example.py +10 -9
ark_example.py
CHANGED
@@ -44,24 +44,25 @@ _LICENSE = "https://github.com/angelolab/ark-analysis/blob/main/LICENSE"
|
|
44 |
# TODO: Add link to the official dataset URLs here
|
45 |
# The HuggingFace Datasets library doesn't host the datasets but only points to the original files.
|
46 |
# This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
|
47 |
-
_URL_REPO = "https://huggingface.co/datasets/angelolab/ark_example
|
48 |
|
49 |
|
50 |
-
|
51 |
-
"input_data":
|
52 |
-
"segmentation/cell_table":
|
53 |
-
"segmentation/deepcell_output":
|
54 |
}
|
55 |
|
56 |
_URL_DATASET_CONFIGS = {
|
57 |
-
"nb1": {"input_data":
|
58 |
"nb2": {
|
59 |
-
"input_data":
|
60 |
-
"segmentation/cell_table":
|
61 |
-
"segmentation/deepcell_output":
|
62 |
},
|
63 |
}
|
64 |
|
|
|
65 |
"""
|
66 |
Dataset Fov renaming:
|
67 |
|
|
|
44 |
# TODO: Add link to the official dataset URLs here
|
45 |
# The HuggingFace Datasets library doesn't host the datasets but only points to the original files.
|
46 |
# This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
|
47 |
+
# _URL_REPO = "https://huggingface.co/datasets/angelolab/ark_example"
|
48 |
|
49 |
|
50 |
+
_URL_DATA = {
|
51 |
+
"input_data": "data/input_data.zip",
|
52 |
+
"segmentation/cell_table": "data/segmentation/cell_table.zip",
|
53 |
+
"segmentation/deepcell_output": "data/segmentation/deepcell_output.zip",
|
54 |
}
|
55 |
|
56 |
_URL_DATASET_CONFIGS = {
|
57 |
+
"nb1": {"input_data": _URL_DATA["input_data"]},
|
58 |
"nb2": {
|
59 |
+
"input_data": _URL_DATA["input_data"],
|
60 |
+
"segmentation/cell_table": _URL_DATA["segmentation/cell_table"],
|
61 |
+
"segmentation/deepcell_output": _URL_DATA["segmentation/deepcell_output"],
|
62 |
},
|
63 |
}
|
64 |
|
65 |
+
|
66 |
"""
|
67 |
Dataset Fov renaming:
|
68 |
|