Skip to content
Snippets Groups Projects
Commit a7d739a3 authored by tcarver's avatar tcarver
Browse files

parsing of the header happens during SAMFileReader construction, so need

to set the default stringency
parent baffec76
No related branches found
No related tags found
No related merge requests found
...@@ -430,7 +430,11 @@ public class BamView extends JPanel ...@@ -430,7 +430,11 @@ public class BamView extends JPanel
* @throws IOException * @throws IOException
*/ */
private SAMFileReader getSAMFileReader(final String bam) throws IOException private SAMFileReader getSAMFileReader(final String bam) throws IOException
{ {
// parsing of the header happens during SAMFileReader construction,
// so need to set the default stringency
SAMFileReader.setDefaultValidationStringency(ValidationStringency.LENIENT);
if(samFileReaderHash.containsKey(bam)) if(samFileReaderHash.containsKey(bam))
return samFileReaderHash.get(bam); return samFileReaderHash.get(bam);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment