[Biojava-l] how to cancel download chemcomp when parser a PDB file
Fico
wuuter at gmail.com
Thu Dec 16 02:45:42 UTC 2010
Hi, dear all:
I use biojava3 beta1 to parse the PDB files recently, my program is:
PDBFileReader pdbreader = new PDBFileReader();
pdbreader.setAutoFetch(false);
pdbreader.setPath(pdbDirPath);
FileParsingParameters params = new FileParsingParameters();
params.setLoadChemCompInfo(*false*);
params.setHeaderOnly(*false*);
params.setAlignSeqRes(*true*);
params.setParseSecStruc(*false*);
pdbreader.setFileParsingParameters(params);
Structure structure = null;
try {
structure = pdbreader.getStructure(pdbDirPath + "\\" +
file);
} catch (IOException e) {
e.printStackTrace();
}
when I execute this program, it will download something such as:
*creating directory D:\MyWorkspace\TestFiles\pdbFiles\chemcomp
downloading http://www.rcsb.org/pdb/files/ligand/35G.cif
downloading http://www.rcsb.org/pdb/files/ligand/GDP.cif*
but I do not want to lownload those stuff, How can I cancel it?
Thanks.
More information about the Biojava-l
mailing list