private IMolecule readMolecule(IMolecule molecule) { JmolAdapter adapter = new SmarterJmolAdapter(); // note that it actually let's the adapter detect the format! System.Object model = adapter.openBufferedReader("", input); molecule.add(new Convertor(molecule.Builder).convert(model)); return(molecule); }
private IMolecule readMolecule(IMolecule molecule) { JmolAdapter adapter = new SmarterJmolAdapter(); // note that it actually let's the adapter detect the format! System.Object model = adapter.openBufferedReader("", input); molecule.add(new Convertor(molecule.Builder).convert(model)); return molecule; }