Open emarsden-iso opened 3 weeks ago
Hi @emarsden-iso , thanks for this PR, it seems indeed useful.
However, looks like the PR breaks this test:
DockQ examples/1EXB_r_l_b.model.pdb examples/1EXB.cif.gz --mapping DH:AE
Possibly a problem with handling .gz
files? Would be good if you could do some debugging here. You can always run run_test.sh
in the DockQ root directory to perform a few tests before updating the PR.
Thanks!
If I already have a PDB file as a string, or you've already got an open file handle to a PDB file, I'd like to just pass either
StringIO(pdb_string)
, or myopen(pdb_path
object to theDockQ.load_PDB
function.This won't affect existing usage, just extends the possible set of valid arguments for
path
to include the above cases