Skip to content

Commit

Permalink
with_settings=True
Browse files Browse the repository at this point in the history
  • Loading branch information
grokhi committed Jan 5, 2024
1 parent 20d56ca commit 86d7d95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"**/__pycache__": true,
"build": true,
"supervisely.egg-info": true,
".venv": true
// ".venv": true
},
"python.defaultInterpreterPath": ".venv/bin/python",
"editor.formatOnSave": true,
Expand All @@ -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"],
Expand Down
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 86d7d95

Please sign in to comment.