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 specifying the assemblyNames config slot on add-connection CLI #3739

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

cmdcolin
Copy link
Collaborator

Renames --assemblyName to --assemblyNames in the add-connection CLI, and makes clear that it is optional and is a comma separated list of multiple assembly names

Also makes some miscellaneous code simplifications

@github-actions github-actions bot added the needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) label May 31, 2023

let configObj = {}
if (config) {
try {
configObj = parseJSON(config)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

try catch removed to get the better json error message from package we import

@cmdcolin cmdcolin changed the title Misc fixes to assemblyNames specification on add-connection CLI Fix specifying the assemblyNames config slot on add-connection CLI May 31, 2023
@cmdcolin cmdcolin added bug Something isn't working and removed needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) labels May 31, 2023
@cmdcolin cmdcolin force-pushed the add-connection-cli branch from 3d33542 to 90d4f12 Compare June 1, 2023 03:27
@codecov
Copy link

codecov bot commented Jun 1, 2023

Codecov Report

Merging #3739 (90d4f12) into main (0906812) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #3739      +/-   ##
==========================================
- Coverage   64.39%   64.39%   -0.01%     
==========================================
  Files         963      963              
  Lines       29925    29905      -20     
  Branches     7182     7174       -8     
==========================================
- Hits        19270    19256      -14     
+ Misses      10489    10483       -6     
  Partials      166      166              
Impacted Files Coverage Δ
...roducts/jbrowse-cli/src/commands/add-connection.ts 93.97% <100.00%> (+0.77%) ⬆️

... and 2 files with indirect coverage changes

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

@cmdcolin cmdcolin merged commit b8174a5 into main Jun 1, 2023
@cmdcolin cmdcolin deleted the add-connection-cli branch June 1, 2023 16:31
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