Added lots of assertions to check for problems.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@395 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
794360c410
commit
1cee7948ab
|
|
@ -34,6 +34,11 @@ public class LocusContext {
|
||||||
* @param offsets
|
* @param offsets
|
||||||
*/
|
*/
|
||||||
public LocusContext(GenomeLoc loc, List<SAMRecord> reads, List<Integer> offsets) {
|
public LocusContext(GenomeLoc loc, List<SAMRecord> reads, List<Integer> offsets) {
|
||||||
|
assert loc != null;
|
||||||
|
assert loc.getContig() != null;
|
||||||
|
assert reads != null;
|
||||||
|
assert offsets != null;
|
||||||
|
|
||||||
this.loc = loc;
|
this.loc = loc;
|
||||||
this.reads = reads;
|
this.reads = reads;
|
||||||
this.offsets = offsets;
|
this.offsets = offsets;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue