Skip to content

Commit

Permalink
ficed bug in pdb parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Dingel321 committed Sep 25, 2023
1 parent 29353ec commit ecf0020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cryo_sbi/utils/pdb_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def pdb_parser(file_formatter, n_pdbs, output_file, mode, start_index=1):
atomic_models = torch.zeros((n_pdbs, *atomic_model.shape))

for i in range(0, n_pdbs):
atomic_models[i] = pdb_parser_(file_formatter.format(start_index+1), mode)
atomic_models[i] = pdb_parser_(file_formatter.format(start_index+i), mode)


if output_file.endswith("pt"):
Expand Down

0 comments on commit ecf0020

Please sign in to comment.