Franklin Grouping Download (TC-239)

Open
#2,891 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
50/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend

Research direction

The payload names no files, so start by finding the Franklin export code path for the grouping download and compare it with the non-grouping one. Reproduce by choosing allele origin "all" or "somatic" on the grouping export page, then check how the non-grouping path decides to skip the generated URL and show the germline-only message. Done when the grouping export matches that behaviour: no download link for non-germline origins, with the same message.

Written by the indexing model from the issue text.

Description

emmatudini created this defect for TC-239:
https://app.testiny.io/VG/testruns/tr/99/tc/239/edit

Summary - Restriction to only export germline allele origin looks like a generated URL is still generated (and is clickable). Change to be similar to non-grouping export behaviour.

Comments

Selecting allele origin "all" or "somatic" - still looks like a download link is loaded (see screenshot). You can click on this link, but you get redirected to export page. In the non-grouping Franklin export, no link is generated and it instead, alongside this "generated URL" says : Franklin download currently only supports Germline. Please set Allele Origin to Germline if you wish to export in Franklin format.

Dominant language
Python
Stars
31
Forks
4
Avg merge
4h 52m
Merged PRs (30d)
183

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SACGF/variantgrid

All issues in SACGF/variantgrid

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.