From fd37d67a2ff6dbb8b652ef82a9ce8897413cecad Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 31 Jan 2020 16:51:34 -0500 Subject: [PATCH] Left a comment on some odd behavior when uploading to real instance --- dandi/cli/command.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dandi/cli/command.py b/dandi/cli/command.py index 830efc34a..d407289d8 100644 --- a/dandi/cli/command.py +++ b/dandi/cli/command.py @@ -456,6 +456,9 @@ def get_item_rec(): # TODO: we need to make this all thread safe all the way # until uploading the file since multiple threads would # create multiple + # ATM it even fails with No such folder: 5e33658d6eb14e0bf49e97d5", + # so will first upload one file and then the rest... not sure why + # locking doesn't work folder_rec = girder.ensure_folder( client, collection_rec, girder_collection, girder_folder )