import java.util.List;
import java.util.Vector;
-import MCview.PDBChain;
+import mc_view.PDBChain;
public abstract class StructureFile extends AlignFile
{
}
StructureImportSettings.setShowSeqFeatures(true);
}
-
- public PDBChain findChain(String id) throws Exception
+
+ /**
+ * Answers the first PDBChain found matching the given id, or null if none
+ * is found
+ *
+ * @param id
+ * @return
+ */
+ public PDBChain findChain(String id)
{
for (PDBChain chain : getChains())
{
return chain;
}
}
- throw new Exception("PDB chain not Found!");
+ return null;
}
public void makeResidueList()