srivarra commited on
Commit
9fd97a0
1 Parent(s): d59b409

small changes

Browse files
Files changed (1) hide show
  1. 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
- _URLS = {
51
- "input_data": f"{_URL_REPO}/data/input_data.zip",
52
- "segmentation/cell_table": f"{_URL_REPO}/data/segmentation/cell_table.zip",
53
- "segmentation/deepcell_output": f"{_URL_REPO}/data/segmentation/deepcell_output.zip",
54
  }
55
 
56
  _URL_DATASET_CONFIGS = {
57
- "nb1": {"input_data": _URLS["input_data"]},
58
  "nb2": {
59
- "input_data": _URLS["input_data"],
60
- "segmentation/cell_table": _URLS["segmentation/cell_table"],
61
- "segmentation/deepcell_output": _URLS["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