Skip to content

Commit

Permalink
fix for new iotbx.pdb behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
natechols committed Apr 28, 2024
1 parent 48cf999 commit 15e2fa3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qfit/structure/pdbfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ def load_combined_atoms(*atom_lists):


def load_atoms_from_labels(atom_labels):
atom_lines = [atom.format_atom_record_group() for atom in atom_labels]
atom_lines = [atom.format_atom_record_group().split('\n')[0]
for atom in atom_labels]
return iotbx.pdb.pdb_input(source_info="qfit_structure",
lines=atom_lines)

Expand Down

0 comments on commit 15e2fa3

Please sign in to comment.