Skip to content

Commit 7489d06

Browse files
committed
Merge branch 'master' into issue_1674
2 parents 4b10674 + a25daff commit 7489d06

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
@@ -192,6 +192,8 @@ def __init__(self, working_dir, log_file=None, log_level=0, include_git_info=Fal
192192
else:
193193
excluded_datasets = []
194194

195+
self.logger.info("Excluded datasets:", excluded_datasets)
196+
195197
input_path = utils.find_path(input, Constants.CONFIG_DIR)
196198
type = utils.find_property(input, Constants.CONFIG_TYPE)
197199
code_prefix = utils.find_property(input, Constants.CONFIG_CODE_PREFIX)
@@ -613,6 +615,9 @@ def _validate_manual_input(self, input, crystals):
613615
self.logger.info("found {} manual inputs".format(len(items)))
614616

615617
for key, item in items.items():
618+
if key in input.exclude:
619+
self.logger.info("excluding manual crystal", key)
620+
continue
616621
pdb = item[0]
617622
mtz = item[1]
618623
cif = item[2]

0 commit comments

Comments
 (0)