Skip to content

Commit

Permalink
fix: wrong import in prepare_json
Browse files Browse the repository at this point in the history
  • Loading branch information
tsenoner committed Jan 2, 2025
1 parent f87cdb6 commit 82efdf4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/protspace/utils/prepare_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import json
import logging
from abc import ABC, abstractmethod
from dataclasses import dataclass, field, frozen
from dataclasses import dataclass, field
from pathlib import Path
from typing import Any, Dict, List, Tuple, Literal

Expand All @@ -20,8 +20,7 @@
EMBEDDING_EXTENSIONS = {".hdf", ".hdf5", ".h5"} # file extensions
METRIC_TYPES = Literal["euclidean", "cosine"] # dimension reduction

@frozen
@dataclass
@dataclass(frozen=True)
class DimensionReductionConfig:
"""Configuration for dimension reduction methods.
Expand Down

0 comments on commit 82efdf4

Please sign in to comment.