galaxyproject / galaxyproject/blend4j

HistoriesClient#downloadDataset mangles HTML file contents

Open
#38 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
16
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Downloading an HTML Galaxy output file (in my case, a QUAST HTML output report) with [`HistoriesClient#downloadDataset`](https://github.com/galaxyproject/blend4j/blob/master/src/main/java/com/github/jmchilton/blend4j/galaxy/HistoriesClientImpl.java#L112) results in a binary file with mangled contents, while downloading from `galaxyUrl + downloadUrl` of the `DataSet` object corresponding to the HTML file in Galaxy conserves the file format (tested with Clojure's [`slurp`](https://clojuredocs.org/clojure.core/slurp) method).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in src/main/java/com/github/jmchilton/blend4j/galaxy/HistoriesClientImpl.java at HistoriesClient#downloadDataset, then compare its handling with downloading the DataSet object's galaxyUrl + downloadUrl. Confirm the behavior with an HTML Galaxy output such as a QUAST report; done means the downloaded contents preserve the original HTML format.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.