if (structureViewer == null)
{
- addError("Failed to import and open structure view for file '"
- + structureFile + "'.");
+ if (!StringUtils.equalsIgnoreCase(sViewerName, "none"))
+ {
+ addError("Failed to import and open structure view for file '"
+ + structureFile + "'.");
+ }
continue;
}
try
TEMPFAC(Type.STRUCTURE,
"Set the type of temperature factor. Possible values are:\n"
+ "default,\n" + "plddt.",
- Opt.STRING, Opt.LINKED, Opt.ALLOWMULTIID),
+ Opt.STRING, Opt.LINKED, Opt.MULTIVALUE, Opt.ALLOWMULTIID),
STRUCTUREVIEWER(Type.STRUCTURE,
"Set the structure viewer to use to open the 3D structure file specified in previous --structure to name. Possible values of name are:\n"
+ "none,\n" + "jmol,\n" + "chimera,\n" + "chimerax,\n"
NOTEMPFAC(Type.STRUCTURE,
"Do not show the temperature factor annotation for the preceding --structure.",
Opt.UNARY, Opt.LINKED, Opt.ALLOWMULTIID, Opt.SECRET), // keep this
- // secret
- // until it works!
+ // secret until
+ // it works!
SHOWSSANNOTATIONS(Type.STRUCTURE, null, Opt.BOOLEAN, Opt.LINKED,
Opt.ALLOWMULTIID),
String[] args = cmdLine.split("\\s+");
CommandsTest.callJalviewMain(args);
- while (Desktop.instance!=null && Desktop.instance.operationsAreInProgress())
+ while (Desktop.instance != null
+ && Desktop.instance.operationsAreInProgress())
{
try
{
---substitutions
--append=examples/test_fab41.result/sample.a2m
--showannotations
--showssannotations
--colour=gecos-flower
---structure=[viewer=jmol,tempfac=plddt,paematrix={dirname}/test_fab41_unrelaxed_rank_1_model_3_scores.json]{dirname}/test_fab41_unrelaxed_rank_1_model_3.pdb
+--structure=[structureviewer=jmol,tempfac=plddt,paematrix={dirname}/test_fab41_unrelaxed_rank_1_model_3_scores.json]{dirname}/test_fab41_unrelaxed_rank_1_model_3.pdb
--structure={dirname}/test_fab41_unrelaxed_rank_2_model_4.pdb
--structureviewer=jmol
--paematrix={dirname}/test_fab41_unrelaxed_rank_2_model_4_scores.json
--structureviewer=jmol
--paematrix={dirname}/test_fab41_unrelaxed_rank_3_model_2_scores.json
--tempfac=plddt
---structure=[viewer=none]{dirname}/test_fab41_unrelaxed_rank_4_model_5.pdb
+--structure=[structureviewer=none]{dirname}/test_fab41_unrelaxed_rank_4_model_5.pdb
--paematrix={dirname}/test_fab41_unrelaxed_rank_4_model_5_scores.json
--tempfac=plddt
--structure={dirname}/test_fab41_unrelaxed_rank_5_model_1.pdb