(JAL-1016) noted position where race condition occurs
authorJim Procter <jprocter@compbio.dundee.ac.uk>
Sun, 12 Feb 2012 17:05:47 +0000 (17:05 +0000)
committerJim Procter <jprocter@compbio.dundee.ac.uk>
Sun, 12 Feb 2012 17:05:47 +0000 (17:05 +0000)
src/jalview/ext/jmol/JalviewJmolBinding.java

index 4a1efe6..a625fd7 100644 (file)
@@ -357,7 +357,7 @@ public abstract class JalviewJmolBinding implements StructureListener,
       for (int pdbfnum = 0; pdbfnum < files.length; pdbfnum++)\r
       {\r
         StructureMapping[] mapping = ssm.getMapping(files[pdbfnum]);\r
-\r
+        // RACE CONDITION - getMapping only returns Jmol loaded filenames once Jmol callback has completed. \r
         if (mapping == null || mapping.length < 1)\r
           continue;\r
 \r