Skip to content

Commit

Permalink
missing pdb is not error not warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tdudgeon committed Jan 30, 2024
1 parent 1ed0fb9 commit 25ba13d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/xchemalign/collator.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,9 +377,11 @@ def _validate_soakdb_input(self, input, crystals):
else:
expanded_files.append(None)
missing_files += 1
self._log_warning(
"PDB file for {} not found: {}. Skipping entry".format(xtal_name, full_inputpath)
m = (
"PDB file for {} not found: {}. "
+ "Add this to the inputs.exclude section of your config.yaml file if you want to continue"
)
self._log_error(m.format(xtal_name, full_inputpath))
continue

# if we have a PDB file then continue to look for the others
Expand Down

0 comments on commit 25ba13d

Please sign in to comment.