File tree 1 file changed +2
-2
lines changed
src/main/java/au/csiro/variantspark/utils
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ public static boolean isBGZFile(String filePath) {
20
20
* .vcf is not GZP file and get htsjdk.samtools.SAMFormatException: at header from java.io.BufferedReader.readLine(BufferedReader.java:389)
21
21
*/
22
22
try (BufferedInputStream bufferedInputStream = new BufferedInputStream (new FileInputStream (filePath ))) {
23
- bufferedInputStream .mark (100 ); // mark the current position
23
+ // bufferedInputStream.mark(100); // mark the current position
24
24
boolean isValid = BlockCompressedInputStream .isValidFile (bufferedInputStream );
25
- bufferedInputStream .reset (); // reset back to the marked position
25
+ // bufferedInputStream.reset(); // reset back to the marked position
26
26
return isValid ;
27
27
} catch (IOException e ) {
28
28
// Handle the exception
You can’t perform that action at this time.
0 commit comments