From: <ni...@us...> - 2009-12-18 19:55:42
|
Revision: 11933 http://jmol.svn.sourceforge.net/jmol/?rev=11933&view=rev Author: nicove Date: 2009-12-18 19:55:34 +0000 (Fri, 18 Dec 2009) Log Message: ----------- Folding@Home Modified Paths: -------------- trunk/Jmol-FAH/src/org/jmol/fah/ProjectInformation.java Modified: trunk/Jmol-FAH/src/org/jmol/fah/ProjectInformation.java =================================================================== --- trunk/Jmol-FAH/src/org/jmol/fah/ProjectInformation.java 2009-12-18 16:03:38 UTC (rev 11932) +++ trunk/Jmol-FAH/src/org/jmol/fah/ProjectInformation.java 2009-12-18 19:55:34 UTC (rev 11933) @@ -745,6 +745,8 @@ info._fciCore = CoreType.GROMACS_SIMT; } else if ("NVIDIA-DEV".equalsIgnoreCase(core)) { info._fciCore = CoreType.NVIDIA_DEV; + } else if ("ProtoMol".equalsIgnoreCase(core)) { + info._fciCore = CoreType.PROTO_MOL; } else if ("QMD".equalsIgnoreCase(core)) { info._fciCore = CoreType.QMD; } else if ("SHARPEN".equalsIgnoreCase(core)) { @@ -1513,7 +1515,8 @@ } if ((info._psName != null) && (!info._psName.equals(info._staticName))) { - if ((info._psName.indexOf('_') == info._psName.length() - 1) && + int sepPosition = info._psName.indexOf('_'); + if (((sepPosition == info._psName.length() - 1) || (sepPosition == -1)) && (info._staticName != null) && (info._staticName.startsWith(info._psName))) { // This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |