Desktop.addInternalFrame(alignFrame, ttl, AlignFrame.DEFAULT_WIDTH,
AlignFrame.DEFAULT_HEIGHT);
- int nNew = checkForNewSequences();
- JvOptionPane.showMessageDialog(af.alignPanel, nNew + " "
- + MessageManager.getString("label.new_returned"));
+ if (returnNoOfNewSeqs)
+ {
+ int nNew = checkForNewSequences();
+ JvOptionPane.showMessageDialog(af.alignPanel, nNew + " "
+ + MessageManager.getString("label.new_returned"));
+ }
}
if (resultSeq.getName().equals(aliSeq.getName()))
{
nNew--;
+ break;
}
}
}
HmmerCommand hmmalign = new HMMAlign(frame, alignArgs);
hmmalign.run();
- int nNew = checkForNewSequences();
- JvOptionPane.showMessageDialog(frame.alignPanel,
- nNew + " " + MessageManager.getString("label.new_returned"));
+ if (returnNoOfNewSeqs)
+ {
+ int nNew = checkForNewSequences();
+ JvOptionPane.showMessageDialog(frame.alignPanel,
+ nNew + " " + MessageManager.getString("label.new_returned"));
+ }
}
/**