JAL-2847 if pfam id is detected in first sequence its shown in db query
[jalview.git] / src / jalview / ext / archaeopteryx / AptxInit.java
index da18a60..3dc2e88 100644 (file)
@@ -203,7 +203,7 @@ public final class AptxInit
    * @return
    */
   public static MainFrame[] createInstancesFromDb(int databaseIndex,
-          AlignmentViewport viewport)
+          AlignmentViewport viewport, String defaultIdentifier)
   {
 
     URL url = null;
@@ -216,7 +216,8 @@ public final class AptxInit
             Desktop.desktop,
             client.getInstructions() + "\n(Reference: "
                     + client.getReference() + ")",
-            client.getDescription(), JvOptionPane.QUESTION_MESSAGE);
+            client.getDescription(), JvOptionPane.QUESTION_MESSAGE, null,
+            null, defaultIdentifier).toString();
 
     if ((identifier != null) && (identifier.trim().length() > 0))
     {