Skip to content

Commit

Permalink
Merge pull request #71 from opendatalab/dev
Browse files Browse the repository at this point in the history
fix #69
  • Loading branch information
gary-Shen authored Dec 7, 2023
2 parents 1e7d7ba + a7672ba commit 3fe8a82
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion labelu/internal/common/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def convert_to_coco(
category_id += 1
tools_category = config.get("tools", [])
for tool in tools_category:
for attr in tool.get("config", {}).get("attributeList", []):
for attr in tool.get("config", {}).get("attributes", []):
category = {
"id": category_id,
"name": attr.get("value", ""),
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "labelu"
version = '0.8.5'
version = '0.7.533'
description = ""
license = "Apache-2.0"
authors = ["pengjinhu <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion scripts/resolve_frontend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ if [ $# -gt 1 ]; then
echo "alpha_version: $alpha_version" >> .VERSION
fi
else
if [ "$CURRENT_BRANCH" = "main" ] || [[ "$CURRENT_BRANCH" = release/* ]]; then
if [ "$CURRENT_BRANCH" = "main" ]; then
url=$release_assets_url
else
url=$alpha_assets_url
Expand Down

0 comments on commit 3fe8a82

Please sign in to comment.