diff --git a/.vscode/settings.json b/.vscode/settings.json index 8ad43f3..adb9109 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,7 +3,7 @@ "**/__pycache__": true, "build": true, "supervisely.egg-info": true, - ".venv": true + // ".venv": true }, "python.defaultInterpreterPath": ".venv/bin/python", "editor.formatOnSave": true, @@ -20,7 +20,7 @@ "editor.defaultFormatter": "ms-python.black-formatter", "editor.formatOnSave": true, "editor.codeActionsOnSave": { - "source.organizeImports": true + "source.organizeImports": "explicit" } }, "isort.args": ["--profile", "black"], diff --git a/src/main.py b/src/main.py index 9543c96..d152900 100644 --- a/src/main.py +++ b/src/main.py @@ -145,7 +145,7 @@ def download_only_json(api, project, dataset_ids): sly.logger.info("DOWNLOAD_PROJECT", extra={"title": project.name}) download_dir = os.path.join(my_app.data_dir, f"{project.id}_{project.name}") sly.fs.mkdir(download_dir) - meta_json = api.project.get_meta(project.id) + meta_json = api.project.get_meta(project.id, with_settings=True) sly.io.json.dump_json_file(meta_json, os.path.join(download_dir, "meta.json")) total_images = 0