synapseutils.sync.generateManifest() sets contentType incorrectly
Description
We always set the contentType to the contentType of first downloaded file
Environment
None
Activity
Show:
Kimyen Truong
April 25, 2018, 9:07 PM
On python2, I ran the following commands:
This generate a file:
Looking into the generated file, the contentType are different between the 2 files written.
Ziming Dong
April 25, 2018, 6:59 PM
To validate: call generateManifest() passing in a list of 2 file entities with different contentTypes and verify the the resulting manifest.tsv has contentType set correctly for both entities