makeResidueList();
makeCaBondList();
+ if (getId() == null)
+ {
+ // always use resource name, not the hardwired file
+ // Does the value of ID get used ? Behaviour needs to be
+ // documented and tested
+ setId(getDataName());
+ }
++
for (PDBChain chain : getChains())
{
SequenceI chainseq = postProcessChain(chain);
import jalview.datamodel.SequenceI;
import jalview.schemes.ColourSchemeI;
import jalview.schemes.ColourSchemeProperty;
-import jalview.schemes.ResidueProperties;
import jalview.schemes.UserColourScheme;
+ import jalview.structure.StructureSelectionManager;
import java.io.BufferedReader;
+ import java.io.File;
import java.io.FileReader;
+ import java.io.IOException;
import java.io.InputStreamReader;
import java.io.StringReader;
import java.net.URL;