Skip to content

downloadAttachment Method of PartShop Downloads non-UTF-8 Encoded File #104

Description

@nroehner

When calling the downloadAttachment method of the PartShop class to download a GFF attachment from SynBioHub, the result is a file that is much smaller than the original and does not appear to UTF-8 encoded.

The following code is an example of trying to download a GFF attachment for the SD2 instance of SynBioHub as described above.

part_shop = PartShop(https://hub.sd2e.org)
part_shop.login(sd2e, SD2_PASSWORD)

part_shop.downloadAttachment('https://hub.sd2e.org/user/sd2e/upload_sandbox/attachment_0f71ec67b1ad4d7ca0109d10ef564d35/1', '.')

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions