Revision: 20330 http://sourceforge.net/p/jmol/code/20330 Author: hansonr Date: 2015-02-25 12:34:59 +0000 (Wed, 25 Feb 2015) Log Message: ----------- Jmol.___JmolVersion="14.3.12_2015.02.25"
new feature: show chemical drawing new feature: show drawing -- pops up window with drawing of model -- service is from NCI -- uses SMILES if structure was not loaded using $... (NCI) or :... (PubChem) Modified Paths: -------------- trunk/Jmol/src/org/jmol/viewer/FileManager.java Modified: trunk/Jmol/src/org/jmol/viewer/FileManager.java =================================================================== --- trunk/Jmol/src/org/jmol/viewer/FileManager.java 2015-02-25 12:33:41 UTC (rev 20329) +++ trunk/Jmol/src/org/jmol/viewer/FileManager.java 2015-02-25 12:34:59 UTC (rev 20330) @@ -194,7 +194,8 @@ setLoadState(htParams); String name0 = name; name = vwr.resolveDatabaseFormat(name); - if (!name0.equals(name) && (name0.startsWith("$") || name0.startsWith(":") || name0.startsWith("=="))) + if (!name0.equals(name) && name0.indexOf("/") < 0 + && (name0.startsWith("$") || name0.startsWith(":") || name0.startsWith("=="))) htParams.put("dbName", name0); int pt = name.indexOf("::"); String nameAsGiven = (pt >= 0 ? name.substring(pt + 2) : name); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits