Skip to content

Error while extracting a document #10

@agnesbrnb

Description

@agnesbrnb

Hi,
I work on an OpenSILEX instance named Siduri. I uploaded a document (CSV file) in an experiment and now I want to download it through the API Python client to use it in the Galaxy API for bioinformatics analysis. The aim is to download various format of document (fastq, fastq.gz, bam, json...).

I managed to authenticate, get the list of documents uploaded in my experiment and get the metadata associated with a document. However, I can't use the function get_document_file from DocumentsApi to download the file as suggested in the documentation. The function returns this error: JSONDecodeError: Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1.

I have a similar JSONDecodeError when trying to use extract_germplasm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions