Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ability to use plaintext bed in add-track CLI #3902

Merged
merged 2 commits into from
Sep 7, 2023

Conversation

cmdcolin
Copy link
Collaborator

@cmdcolin cmdcolin commented Sep 7, 2023

No description provided.

@github-actions github-actions bot added the needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) label Sep 7, 2023
return {
type: 'UNSUPPORTED',
}
}

if (/\.bed$/i.test(location)) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

There were two checks for .bed$, first here, saying UNSUPPORTED

@@ -547,116 +518,81 @@ export default class AddTrack extends JBrowseCommand {
indexType: index?.toUpperCase().endsWith('CSI') ? 'CSI' : 'TBI',
},
}
}

if (/\.bed$/i.test(location)) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Second here

@cmdcolin cmdcolin added enhancement New feature or request and removed needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) labels Sep 7, 2023
@codecov
Copy link

codecov bot commented Sep 7, 2023

Codecov Report

Merging #3902 (c800782) into main (273aa6b) will decrease coverage by 0.01%.
Report is 1 commits behind head on main.
The diff coverage is 81.57%.

@@            Coverage Diff             @@
##             main    #3902      +/-   ##
==========================================
- Coverage   64.49%   64.49%   -0.01%     
==========================================
  Files        1004     1004              
  Lines       29804    29803       -1     
  Branches     7143     7143              
==========================================
- Hits        19222    19220       -2     
- Misses      10417    10418       +1     
  Partials      165      165              
Files Changed Coverage Δ
...rc/LinearSNPCoverageDisplay/components/Tooltip.tsx 35.71% <0.00%> (ø)
products/jbrowse-cli/src/commands/add-track.ts 83.98% <100.00%> (+0.88%) ⬆️

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@cmdcolin cmdcolin merged commit 7fcaa4e into main Sep 7, 2023
@cmdcolin cmdcolin changed the title Add ability to use plaintext bed in add-track CLI Fix ability to use plaintext bed in add-track CLI Sep 7, 2023
@cmdcolin cmdcolin added bug Something isn't working and removed enhancement New feature or request labels Sep 7, 2023
@cmdcolin cmdcolin deleted the plaintext_bed_add_track branch September 9, 2023 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant