}
int featureStartCol = seq.findIndex(visibleStart);
- int featureEndCol = sf.begin == sf.end ? featureStartCol : seq
- .findIndex(visibleEnd);
+ int featureEndCol = sf.begin == sf.end ? featureStartCol
+ : seq.findIndex(visibleEnd);
// Color featureColour = getColour(sequenceFeature);
else
{
*/
- boolean drawn = renderFeature(g, seq,
- featureStartCol - 1,
- featureEndCol - 1, featureColour,
- start, end, y1, colourOnly);
- if (drawn)
- {
- drawnColour = featureColour;
- }
+ boolean drawn = renderFeature(g, seq, featureStartCol - 1,
+ featureEndCol - 1, featureColour, start, end, y1,
+ colourOnly);
+ if (drawn)
+ {
+ drawnColour = featureColour;
+ }
/*}*/
}
}
for (int pos = visibleStart; pos <= visibleEnd; pos++)
{
int column = seq.findIndex(pos);
- MappedFeatures mf = fr2
- .findComplementFeaturesAtResidue(seq, pos);
+ MappedFeatures mf = fr2.findComplementFeaturesAtResidue(seq, pos);
if (mf != null)
{
for (SequenceFeature sf : mf.features)
AlignViewportI complement = av.getCodingComplement();
AlignFrame af = Desktop.getAlignFrameFor(complement);
FeatureRendererModel fr2 = af.getFeatureRenderer();
- MappedFeatures mf = fr2.findComplementFeaturesAtResidue(
- seq, seq.findPosition(column - 1));
+ MappedFeatures mf = fr2.findComplementFeaturesAtResidue(seq,
+ seq.findPosition(column - 1));
if (mf == null)
{
return null;