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:
depristo 2009-04-14 00:55:19 +00:00
parent 794360c410
commit 1cee7948ab
1 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,11 @@ public class LocusContext {
* @param 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.reads = reads;
this.offsets = offsets;