private resCode validResidueCode(String field)
{
Integer val = null;
- Regex r = new Regex(
- "\\s*((([-0-9]+).?)|FIRST|LAST|@)");
+ Regex r = new Regex("\\s*((([-0-9]+).?)|FIRST|LAST|@)");
if (!r.search(field))
{
List<DBRefEntry> dbr = seq.getDatasetSequence().getDBRefs();
for (int i = 0, ni = dbr.size(); i < ni; i++)
{
- DBRefEntry dbri = dbr.get(i);
+ DBRefEntry dbri = dbr.get(i);
if (dbri != null)
{
// JBPNote PDB dbRefEntry needs properties to propagate onto
// ModellerField
// JBPNote Need to get info from the user about whether the sequence
// is the one being modelled, or if it is a template.
- if (dbri.getSource()
- .equals(jalview.datamodel.DBRefSource.PDB))
+ if (dbri.getSource().equals(jalview.datamodel.DBRefSource.PDB))
{
fields.put(Fields[LOCALID], dbri.getAccessionId());
t = 2;