jGroup.setTextCol2(sg.textColour2.getRGB());
jGroup.setTextColThreshold(sg.thresholdTextColour);
jGroup.setShowUnconserved(sg.getShowNonconserved());
- jGroup.setIgnoreGapsinConsensus(sg.isIgnoreGapsConsensus());
+ jGroup.setIgnoreGapsinConsensus(sg.getIgnoreGapsConsensus());
jGroup.setShowConsensusHistogram(sg.isShowConsensusHistogram());
jGroup.setShowSequenceLogo(sg.isShowSequenceLogo());
jGroup.setNormaliseSequenceLogo(sg.isNormaliseSequenceLogo());
}
else if (!matchedFile.equals(pdbentry.getFile()))
{
- warn("Probably lost some PDB-Sequence mappings for this structure file (which apparently has same PDB Entry code): "
- + pdbentry.getFile());
+ Cache.log.warn(
+ "Probably lost some PDB-Sequence mappings for this structure file (which apparently has same PDB Entry code): "
+ + pdbentry.getFile());
}
// record the
// file so we
}
else
{
- debug("reusing DseqFor ID");
+ jalview.bin.Cache.log.debug("reusing DseqFor ID");
}
// mp.setMappingChoice(mpc);
}
// adds feature to datasequence's feature set (since Jalview 2.10)
- alignmentSeq.addSequenceFeature(sf);
+ al.getSequenceAt(i).addSequenceFeature(sf);
}
}
if (vamsasSeqs.get(i).getDBRef().size() > 0)
.getStructureSelectionManager(Desktop.instance)
.registerPDBEntry(entry);
// adds PDBEntry to datasequence's set (since Jalview 2.10)
- if (alignmentSeq.getDatasetSequence() != null)
+ if (al.getSequenceAt(i).getDatasetSequence() != null)
{
- alignmentSeq.getDatasetSequence().addPDBId(entry);
+ al.getSequenceAt(i).getDatasetSequence().addPDBId(entry);
}
else
{
- alignmentSeq.addPDBId(entry);
+ al.getSequenceAt(i).addPDBId(entry);
}
}
}
/*
* load any HMMER profile
*/
- String hmmJarFile = jseqs[i].getHmmerProfile();
+ String hmmJarFile = jseqs.get(i).getHmmerProfile();
if (hmmJarFile != null && jprovider != null)
{
- loadHmmerProfile(jprovider, hmmJarFile, alignmentSeq);
+ loadHmmerProfile(jprovider, hmmJarFile, al.getSequenceAt(i));
}
}
} // end !multipleview
String id = object.getViewport().get(0).getSequenceSetId();
if (skipList.containsKey(id))
{
- debug("Skipping sequence set id " + id);
+ if (Cache.log != null && Cache.log.isDebugEnabled())
+ {
+ Cache.log.debug("Skipping seuqence set id " + id);
+ }
return true;
}
return false;
}
else
{
- debug("Ignoring " + jvobj.getClass() + " (ID = " + id);
+ Cache.log.debug("Ignoring " + jvobj.getClass() + " (ID = " + id);
}
}
}
maxcol = new Color(Integer.parseInt(colourModel.getRGB(), 16));
} catch (Exception e)
{
- if (Cache.log != null)
- {
Cache.log.warn("Couldn't parse out graduated feature color.", e);
- }
}
NoValueColour noCol = colourModel.getNoValueColour();