Skip to content

Commit

Permalink
Fix to prevent collator failing to process manual inputs. THIS SHOULD…
Browse files Browse the repository at this point in the history
… HAVE BROKEN TESTS FOR CONFIG 2! WORRYING!
  • Loading branch information
ConorFWild committed Nov 16, 2023
1 parent 13c04d1 commit 6459ec4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/xchemalign/collator.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ def __init__(self, config_file, logger=None):
)

elif type == Constants.CONFIG_TYPE_MANUAL:
# Determine which datasets to exclude
excluded_datasets = utils.find_property(input, Constants.CONFIG_EXCLUDE)
if not excluded_datasets:
excluded_datasets = []

self.logger.info("adding input", input_path)
self.inputs.append(
Input(self.base_path, input_path, type, None, [], excluded_datasets, logger=self.logger)
Expand Down

0 comments on commit 6459ec4

Please sign in to comment.