When downloading annotation ZIPs when using pull(), the properties manifest file is never created in the annotations directory. This is because despite the fact that we download the same ZIP file that the frontend provides, we first unzip the files in a temporary directory, then only move .json files to the annotations directory. This leaves the .v7 folder behind
Solution
If the properties metadata file is present, move it to the annotations directory
Changelog
Fixed a bug where downloading annotations with darwin-py would not include the properties metadata file
Problem
When downloading annotation ZIPs when using
pull()
, the properties manifest file is never created in the annotations directory. This is because despite the fact that we download the same ZIP file that the frontend provides, we first unzip the files in a temporary directory, then only move.json
files to the annotations directory. This leaves the.v7
folder behindSolution
If the properties metadata file is present, move it to the annotations directory
Changelog
Fixed a bug where downloading annotations with darwin-py would not include the properties metadata file