@Test public void testCharged4() throws StructureBuildingException { Fragment f = fm.buildSMILES("[O-2]"); fm.makeHydrogensExplicit(); String smiles = SMILESWriter.generateSmiles(f); assertEquals("[O-2]", smiles); }
static String generateSmiles(Fragment structure) { return new SMILESWriter(structure, false).writeSmiles(); }
SMILESWriter { static String generateSmiles(Fragment structure) { return new SMILESWriter(structure, false).writeSmiles(); } }
SMILESWriter { static String generateSmiles(Fragment structure) { return new SMILESWriter(structure, false).writeSmiles(); } private  SMILESWriter(Fragment structure, boolean outputExtendedSmiles); }
SMILESWriter { static String generateSmiles(Fragment structure) { return new SMILESWriter(structure, false).writeSmiles(); } private  SMILESWriter(Fragment structure, boolean outputExtendedSmiles);  }
SMILESWriter { static String generateSmiles(Fragment structure) { return new SMILESWriter(structure, false).writeSmiles(); } private  SMILESWriter(Fragment structure, boolean outputExtendedSmiles);   }