Skip to content

Commit

Permalink
Remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
druzsan committed Nov 30, 2023
1 parent 6eaaf4f commit 7d1891a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions renumics/spotlight/data_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ def embeddings(self) -> Dict[str, Optional[np.ndarray]]:

@embeddings.setter
def embeddings(self, new_embeddings: Dict[str, Optional[np.ndarray]]) -> None:
print(new_embeddings)
self._embeddings = new_embeddings

def check_generation_id(self, generation_id: int) -> None:
Expand Down Expand Up @@ -126,14 +125,10 @@ def get_converted_values(
normalized_values = self._data_source.get_column_values(
column_name, indices
)
if column_name == "image.embedding":
print(normalized_values)
converted_values = [
convert_to_dtype(value, dtype, simple=simple, check=check)
for value in normalized_values
]
if column_name == "image.embedding":
print(converted_values)
return converted_values

def get_converted_value(
Expand Down
1 change: 0 additions & 1 deletion renumics/spotlight_plugins/core/api/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ async def get_table_cell(
data_store.check_generation_id(generation_id)

value = data_store.get_converted_value(column, row, simple=False)
print(column, value)

if isinstance(value, bytes):
return Response(value, media_type="application/octet-stream")
Expand Down

0 comments on commit 7d1891a

Please sign in to comment.