\r
import jalview.datamodel.SequenceI;\r
import java.util.Vector;\r
-import com.stevesoft.pat.Regex;\r
public class ModellerDescription\r
{\r
/**\r
private resCode validResidueCode(String field)\r
{\r
Integer val = null;\r
- com.stevesoft.pat.Regex r = new Regex("\\s*((([-0-9]+).?)|FIRST|LAST|@)");\r
+ com.stevesoft.pat.Regex r = new com.stevesoft.pat.Regex("\\s*((([-0-9]+).?)|FIRST|LAST|@)");\r
\r
if (!r.search(field))\r
{\r
{\r
// JBPNote PDB dbRefEntry needs properties to propagate onto ModellerField\r
// JBPNote Need to get info from the user about whether the sequence is the one being modelled, or if it is a template.\r
- if (dref.getSource().equals("PDB"))\r
+ if (dref.getSource().equals(jalview.datamodel.DBRefSource.PDB))\r
{\r
fields.put(Fields[LOCALID], dref.getAccessionId());\r
t = 2;\r