Datasets:
remove dict type hints
Browse files- ark_example.py +2 -2
ark_example.py
CHANGED
@@ -81,7 +81,7 @@ TMA21_R12C6 -> fov9
|
|
81 |
TMA24_R9C1 -> fov10
|
82 |
"""
|
83 |
|
84 |
-
#
|
85 |
class ArkExample(datasets.GeneratorBasedBuilder):
|
86 |
"""The Dataset consists of 11 FOVs"""
|
87 |
|
@@ -158,5 +158,5 @@ class ArkExample(datasets.GeneratorBasedBuilder):
|
|
158 |
]
|
159 |
|
160 |
# method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
161 |
-
def _generate_examples(self, dataset_paths
|
162 |
yield self.config.name, dataset_paths
|
|
|
81 |
TMA24_R9C1 -> fov10
|
82 |
"""
|
83 |
|
84 |
+
# Note: Name of the dataset usually match the script name with CamelCase instead of snake_case
|
85 |
class ArkExample(datasets.GeneratorBasedBuilder):
|
86 |
"""The Dataset consists of 11 FOVs"""
|
87 |
|
|
|
158 |
]
|
159 |
|
160 |
# method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
161 |
+
def _generate_examples(self, dataset_paths):
|
162 |
yield self.config.name, dataset_paths
|