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

Specifies correct extensions for various file formats #176

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fnothaft
Copy link
Contributor

Resolves #175. Would love to take this in the 7.9.1 release if possible.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 63.222% when pulling 8f19dab on fnothaft:issues/175-extensions into 0c54715 on HadoopGenomics:master.

Copy link
Member

@tomwhite tomwhite left a comment

Choose a reason for hiding this comment

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

I think this needs more discussion, to decide the behaviour for sharded files for example. Also need to think about backwards compatibility and tests.

@@ -97,7 +97,7 @@ public void readHeaderFrom(SeekableStream in) throws IOException {
Configuration conf = ctx.getConfiguration();
boolean isCompressed = getCompressOutput(ctx);
CompressionCodec codec = null;
String extension = "";
String extension = ".vcf";
Copy link
Member

Choose a reason for hiding this comment

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

Won't this get replaced by the compressor extension in the next code block anyway? So it will be "file.bgz" not "file.vcf.bgz".

@fnothaft
Copy link
Contributor Author

@tomwhite SGTM! We can override the behavior downstream in ADAM, so don't hold up 7.9.1 for this patch.

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