Sage-Bionetworks/synapsePythonClient

synapseutils.syncFromSynapse fails on empty folder

pcstout opened this issue · 1 comments

syncFromSynapse throws ValueError: The provided id: synMyFolderId is was neither a container nor a File when it hits an empty folder.

Folder Structure:

-Folder-1
  -Folder-2
  -some-file.txt

synapseutils.syncFromSynapse(syn, 'Folder-1-id')

Hello @pcstout,
Thank you for reporting the issue! It has been tracked here: https://sagebionetworks.jira.com/browse/SYNPY-688, fixed, and will be released soon. (Version 1.8.2)