Skip to content

Commit

Permalink
reformat cvat with black
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustem Galiullin committed Nov 28, 2022
1 parent 037739a commit c0968c7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions fiftyone/utils/cvat.py
Original file line number Diff line number Diff line change
Expand Up @@ -4295,9 +4295,14 @@ def upload_samples(self, samples, backend):

# use custom task name if provided, else use default name
if config.task_name is None:
_dataset_name = samples_batch._dataset.name.replace(" ", "_")
_dataset_name = samples_batch._dataset.name.replace(
" ", "_"
)
latest_anno_key = _get_latest_anno_key(samples)
task_name = "FiftyOne_%s_%s" % (_dataset_name, latest_anno_key)
task_name = "FiftyOne_%s_%s" % (
_dataset_name,
latest_anno_key,
)
else:
task_name = config.task_name

Expand Down

0 comments on commit c0968c7

Please sign in to comment.