logger.debug("Trying to create InChI: ", type);
WaitDialog.showDialog();
if (dialog == null) {
dialog = new TextViewDialog(frame, "InChI", null, false, 40, 2);
}
ChemModel model = (ChemModel) jcpPanel.getChemModel();
if (model.getReactionSet() != null
&& model.getReactionSet().getReactionCount() > 0) {