}
}
if(mol == null && request.getParameter("name") != null && request.getParameter("name").length() > 0) {
try {
NameToStructure nts = NameToStructure.getInstance();
Element cml = nts.parseToCML(request.getParameter("name"));
if (cml != null){
mol = StructureConverter.cmlToMolecule(cml);
if(mol != null) {
StructureConverter.configureMolecule(mol);
makeStructure = !MultiFragmentStructureDiagramGenerator.hasStructure(mol);