tranfer pdbresno features to dataset sequence.
authorjprocter <Jim Procter>
Mon, 12 Feb 2007 10:05:31 +0000 (10:05 +0000)
committerjprocter <Jim Procter>
Mon, 12 Feb 2007 10:05:31 +0000 (10:05 +0000)
src/MCview/PDBCanvas.java

index 18afbb9..025fce2 100755 (executable)
@@ -146,7 +146,7 @@ public class PDBCanvas
     mainchain.seqend = seqend;
     mainchain.isVisible = true;
     mainchain.makeExactMapping(maxAlignseq, sequence);
-    mainchain.transferRESNUMFeatures(sequence, null);
+    mainchain.transferRESNUMFeatures(sequence.getDatasetSequence(), null);
     seqcanvas.getFeatureRenderer().featuresAdded();
     this.pdb = pdb;
     this.prefsize = new Dimension(getWidth(), getHeight());