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

Updating htsjdk to 2.19.0 #1297

Merged
merged 1 commit into from
Mar 22, 2019
Merged

Updating htsjdk to 2.19.0 #1297

merged 1 commit into from
Mar 22, 2019

Conversation

lbergelson
Copy link
Member

Description

  • Updating htsjdk from 2.18.2 -> 2.19.0
  • Fix SamFormatConverter test
  • Replacing deprecated TestUtils method

Checklist (never delete this)

Never delete this, it is our record that procedure was followed. If you find that for whatever reason one of the checklist points doesn't apply to your PR, you can leave it unchecked but please add an explanation below.

Content

  • Added or modified tests to cover changes and any new functionality
  • Edited the README / documentation (if applicable)
  • All tests passing on Travis

Review

  • Final thumbs-up from reviewer
  • Rebase, squash and reword as applicable

For more detailed guidelines, see https:/broadinstitute/picard/wiki/Guidelines-for-pull-requests

* Updating htsjdk from 2.18.2 -> 2.19.0
* Fix SamFormatConverter test
* Replacing deprecated TestUtils method
* @param referenceSequence the reference sequence to use, necessary when reading/writing cram
* @param createIndex whether or not an index should be written alongside the output file
*/
public static void convert(final File input, final File output, final File referenceSequence, final Boolean createIndex) {
Copy link
Member Author

Choose a reason for hiding this comment

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

I extracted the guts of this tool into a public method so it could be tested more sanely.

@@ -34,63 +36,47 @@
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertTrue;

public class SamFileConverterTest {
public class SamFormatConverterTest {
Copy link
Member Author

Choose a reason for hiding this comment

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

Renamed the test so it matched the tool name.

public class
SamFormatConverter extends CommandLineProgram {

private static final String PROGRAM_VERSION = "1.0";
Copy link
Member Author

Choose a reason for hiding this comment

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

this was unused

@coveralls
Copy link

coveralls commented Mar 18, 2019

Coverage Status

Coverage decreased (-0.007%) to 81.53% when pulling 2193c0a on lb_update_htsjdk into 1531278 on master.

@yfarjoun yfarjoun merged commit ba9b355 into master Mar 22, 2019
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.

3 participants