Browse Source

report range violations in flowcall.d

remotes/georgeg/no_streams
lomereiter 9 years ago
parent
commit
48675619e2
  1. 3
      bio/bam/iontorrent/flowcall.d

3
bio/bam/iontorrent/flowcall.d

@ -243,6 +243,9 @@ struct ReadFlowCallRange(S)
}
ReadFlowCall front() @property const {
enforce(_current_flow_index < _intensities.length,
"Inconsistency between FZ/ZM tag and read bases");
auto intensity = cast(ushort)(_intensities[_current_flow_index] - _overlap);
ReadFlowCall rfc = void;
rfc._fc = FlowCall(intensity, _current_base, _tag);

Loading…
Cancel
Save