cmd.append("ribbon ").append(atomSpec);
if (!isShowAlignmentOnly())
{
- cmd.append("chain @CA|P; ribbon");
+ cmd.append("; chain @CA|P");
}
if (refocus)
{
}
sendChimeraCommand(cmd.toString(), false);
}
+
+ @Override
+ public int getModelForPdbFile(String fileName, int fileIndex)
+ {
+ if (chimeraMaps.containsKey(fileName))
+ {
+ List<ChimeraModel> models = chimeraMaps.get(fileName);
+ if (!models.isEmpty())
+ {
+ return models.get(0).getModelNumber();
+ }
+ }
+ return -1;
+ }
}