Skip to content

Commit

Permalink
update app description and default docker image, update description i…
Browse files Browse the repository at this point in the history
…n if action, fix disabled update in ImageProject layer
  • Loading branch information
cxnt committed Nov 2, 2023
1 parent aa033f0 commit 8114c40
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
4 changes: 2 additions & 2 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"version": "2.0.0",
"name": "Data Nodes",
"description": "Drag and drop interface for building custom DataOps pipelines",
"description": "[Beta] Drag and drop interface for building custom DataOps pipelines",
"entrypoint": "python -m uvicorn src.main:app --host 0.0.0.0 --port 8000",
"headless": false,
"docker_image": "supervisely/base-py-sdk:6.72.111",
"docker_image": "supervisely/base-py-sdk:6.72.171",
"icon_cover": true,
"icon": "https://github.com/supervisely-ecosystem/data-nodes/assets/48913536/a7efcb1d-ced6-414f-9915-16a154424c99",
"poster": "https://github.com/supervisely-ecosystem/data-nodes/assets/48913536/73838fba-d57b-4405-9db5-80e3514f9983",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
git+https://github.com/supervisely/supervisely.git@NikolaiPetukhov
supervisely==6.72.171
jsonschema
networkx
scikit-image>=0.17.1, <1.0.0
Expand Down
7 changes: 6 additions & 1 deletion src/ui/dtl/actions/data/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,11 @@ def meta_changed_cb(project_meta: ProjectMeta):
)

if isinstance(_current_meta, ProjectMeta):
classes_mapping_edit_btn.enable()
if len(_current_meta.obj_classes) > 0:
classes_mapping_edit_btn.enable()
else:
classes_mapping_edit_btn.disable()

update_preview_btn.enable()

set_classes_list_settings_from_json(
Expand Down Expand Up @@ -370,6 +374,7 @@ def src_save_btn_cb():
_set_src_preview()
g.updater("metas")
if _current_info != _temp_info:
update_preview_btn.enable()
g.updater(("nodes", layer_id))

@classes_mapping_save_btn.click
Expand Down
7 changes: 6 additions & 1 deletion src/ui/dtl/actions/if_action/if_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,12 @@ def _get_tags_value():
_include_classes_input = ClassesList(multiple=True)
_include_classes_widget = Field(
title="Include classes",
description="Select one or more classes to split data. Images with selected classes will be sent to the 'True' output, others to the 'False' output",
description=(
"Select one or more classes to split data. "
"Images that have at least one object of the selected classes "
"will go to the True output branch, "
"other images will go to the 'False' output branch"
),
content=_include_classes_input,
)

Expand Down

0 comments on commit 8114c40

Please sign in to comment.