Skip to content

Commit a25daff

Browse files
committed
#1674/#1705 fix
1 parent fa5d4e7 commit a25daff

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/xchemalign/aligner.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ def _perform_alignments(self, meta):
424424

425425
# Get the dataset assignments
426426
if source_fs_model:
427-
dataset_assignments = _load_dataset_assignments(Path(self.base_dir / source_fs_model.dataset_assignments))
427+
dataset_assignments = _load_dataset_assignments(Path(source_fs_model.dataset_assignments))
428428
else:
429429
dataset_assignments = _load_dataset_assignments(Path(fs_model.dataset_assignments))
430430

src/xchemalign/collator.py

+5
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ def __init__(self, working_dir, log_file=None, log_level=0, include_git_info=Fal
188188
if not excluded_datasets:
189189
excluded_datasets = []
190190

191+
self.logger.info("Excluded datasets:", excluded_datasets)
192+
191193
input_path = utils.find_path(input, Constants.CONFIG_DIR)
192194
type = utils.find_property(input, Constants.CONFIG_TYPE)
193195
code_prefix = utils.find_property(input, Constants.CONFIG_CODE_PREFIX)
@@ -606,6 +608,9 @@ def _validate_manual_input(self, input, crystals):
606608
self.logger.info("found {} manual inputs".format(len(items)))
607609

608610
for key, item in items.items():
611+
if key in input.exclude:
612+
self.logger.info("excluding manual crystal", key)
613+
continue
609614
pdb = item[0]
610615
mtz = item[1]
611616
cif = item[2]

0 commit comments

Comments
 (0)