nomic 3.0.42__tar.gz → 3.0.43__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of nomic might be problematic. Click here for more details.
- {nomic-3.0.42 → nomic-3.0.43}/PKG-INFO +1 -1
- {nomic-3.0.42 → nomic-3.0.43}/nomic/dataset.py +5 -5
- {nomic-3.0.42 → nomic-3.0.43}/nomic.egg-info/PKG-INFO +1 -1
- {nomic-3.0.42 → nomic-3.0.43}/setup.py +1 -1
- {nomic-3.0.42 → nomic-3.0.43}/README.md +0 -0
- {nomic-3.0.42 → nomic-3.0.43}/nomic/__init__.py +0 -0
- {nomic-3.0.42 → nomic-3.0.43}/nomic/atlas.py +0 -0
- {nomic-3.0.42 → nomic-3.0.43}/nomic/aws/__init__.py +0 -0
- {nomic-3.0.42 → nomic-3.0.43}/nomic/aws/sagemaker.py +0 -0
- {nomic-3.0.42 → nomic-3.0.43}/nomic/cli.py +0 -0
- {nomic-3.0.42 → nomic-3.0.43}/nomic/data_inference.py +0 -0
- {nomic-3.0.42 → nomic-3.0.43}/nomic/data_operations.py +0 -0
- {nomic-3.0.42 → nomic-3.0.43}/nomic/embed.py +0 -0
- {nomic-3.0.42 → nomic-3.0.43}/nomic/pl_callbacks/__init__.py +0 -0
- {nomic-3.0.42 → nomic-3.0.43}/nomic/pl_callbacks/pl_callback.py +0 -0
- {nomic-3.0.42 → nomic-3.0.43}/nomic/settings.py +0 -0
- {nomic-3.0.42 → nomic-3.0.43}/nomic/utils.py +0 -0
- {nomic-3.0.42 → nomic-3.0.43}/nomic.egg-info/SOURCES.txt +0 -0
- {nomic-3.0.42 → nomic-3.0.43}/nomic.egg-info/dependency_links.txt +0 -0
- {nomic-3.0.42 → nomic-3.0.43}/nomic.egg-info/entry_points.txt +0 -0
- {nomic-3.0.42 → nomic-3.0.43}/nomic.egg-info/requires.txt +0 -0
- {nomic-3.0.42 → nomic-3.0.43}/nomic.egg-info/top_level.txt +0 -0
- {nomic-3.0.42 → nomic-3.0.43}/pyproject.toml +0 -0
- {nomic-3.0.42 → nomic-3.0.43}/setup.cfg +0 -0
|
@@ -1089,6 +1089,11 @@ class AtlasDataset(AtlasClass):
|
|
|
1089
1089
|
if modality is None:
|
|
1090
1090
|
modality = self.meta["modality"]
|
|
1091
1091
|
|
|
1092
|
+
if modality == "image":
|
|
1093
|
+
indexed_field = "_blob_hash"
|
|
1094
|
+
if indexed_field is not None:
|
|
1095
|
+
logger.warning("Ignoring indexed_field for image datasets. Only _blob_hash is supported.")
|
|
1096
|
+
|
|
1092
1097
|
colorable_fields = []
|
|
1093
1098
|
|
|
1094
1099
|
for field in self.dataset_fields:
|
|
@@ -1155,11 +1160,6 @@ class AtlasDataset(AtlasClass):
|
|
|
1155
1160
|
if indexed_field is None and modality == "text":
|
|
1156
1161
|
raise Exception("You did not specify a field to index. Specify an 'indexed_field'.")
|
|
1157
1162
|
|
|
1158
|
-
if modality == "image":
|
|
1159
|
-
indexed_field = "_blob_hash"
|
|
1160
|
-
if indexed_field is not None:
|
|
1161
|
-
logger.warning("Ignoring indexed_field for image datasets. Only _blob_hash is supported.")
|
|
1162
|
-
|
|
1163
1163
|
if indexed_field not in self.dataset_fields:
|
|
1164
1164
|
raise Exception(f"Indexing on {indexed_field} not allowed. Valid options are: {self.dataset_fields}")
|
|
1165
1165
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|