Skip to content

Commit

Permalink
update all_label_ids
Browse files Browse the repository at this point in the history
  • Loading branch information
kprokofi committed Dec 18, 2024
1 parent 0c193b2 commit 2c733c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/otx/core/types/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ def to_metadata(self) -> dict[tuple[str, str], str]:
all_label_ids = ""
for lbl in self.label_info.label_names:
all_labels += lbl.replace(" ", "_") + " "
all_label_ids += lbl.replace(" ", "_") + " "
for lbl_id in self.label_info.label_ids:
all_label_ids += lbl_id + " "

metadata = {
# Common
Expand Down

0 comments on commit 2c733c0

Please sign in to comment.