Skip to content

Commit

Permalink
labelset rank bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hkir-dev committed Jul 9, 2024
1 parent fbbe7ee commit 2528b6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name="tdta",
version="0.1.0.dev16",
version="0.1.0.dev17",
description="The aim of this project is to provide taxonomy development tools custom actions.",
long_description=README,
long_description_content_type="text/markdown",
Expand Down
3 changes: 3 additions & 0 deletions src/tdta/tdt_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ def parse_labelset_data(cta, sqlite_db, table_name):
automated_annotation = AutomatedAnnotation("", "", "", "")
auto_fill_object_from_row(automated_annotation, renamed_columns, row)
labelset.automated_annotation = automated_annotation
# cast rank to int
if labelset.rank:
labelset.rank = int(labelset.rank)
labelsets.append(labelset)
cta.labelsets = labelsets

Expand Down

0 comments on commit 2528b6b

Please sign in to comment.