Skip to content

Conversation

@dnil
Copy link
Member

@dnil dnil commented Dec 21, 2023

This PR adds | fixes:

How to prepare for test:

  • ssh to ...
  • Install on stage:
    bash servers/resources/SERVER.scilifelab.se/update-[THIS_TOOL]-stage.sh [THIS-BRANCH-NAME]

How to test:

Expected outcome:

  • [ ]

Review:

  • Code approved by
  • Tests executed by
  • "Merge and deploy" approved by

This version is a:

  • MAJOR - when you make incompatible API changes
  • MINOR - when you add functionality in a backwards compatible manner
  • PATCH - when you make backwards compatible bug fixes or documentation/instructions

Copy link
Contributor

@henrikstranneheim henrikstranneheim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

coordinates["end"] = end

sv_type = variant.INFO.get("SVTYPE").split(":")[0]
sv_type = variant.INFO.get("SVTYPE")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add type hint

def test_format_old_tiddit_dup_tandem(duptandem_old_tiddit_variant, case_obj):
## GIVEN a dup with older TIDDIT notation (TDUP, IDUP, ...)
variant = duptandem_variant
variant = duptandem_old_tiddit_variant
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
variant = duptandem_old_tiddit_variant
variant: str = duptandem_tiddit_variant_legacy_format

def test_format_tiddit_dup_tandem(duptandem_tiddit_variant, case_obj):
## GIVEN a TIDDIT style notation, ie both SVTYPE info and alt field tag has subtype, eg DUP:TANDEM
variant = duptandem_variant
variant = duptandem_tiddit_variant
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
variant = duptandem_tiddit_variant
variant: str = duptandem_tiddit_variant

@dnil dnil requested review from a team as code owners April 3, 2025 12:32
@dnil dnil marked this pull request as draft April 3, 2025 12:33
@jemten
Copy link
Collaborator

jemten commented Apr 9, 2025

Should we try to merge these changes @dnil?

@dnil
Copy link
Member Author

dnil commented Apr 9, 2025

Should we try to merge these changes @dnil?

You are asking such good questions! I had the same one last week, but didn't spend the time trying to answer it. Probably, if it was an issue 2023. On the other hand we seem to have lived without. Again, whoever has time to figure out the current status (checking files that go for upload for variants like this etc etc).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants