Skip to content

Commit

Permalink
fix: unconditionally add optitype and arcashla sub_steps (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
tedil authored Nov 13, 2024
1 parent 0941d93 commit 73bbf66
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions snappy_pipeline/workflows/hla_typing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,14 +300,7 @@ def default_config_yaml(cls):

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs, config_model_class=HlaTypingConfigModel)
sub_steps = [LinkInStep, LinkOutStepPart]
for tool in self.config.tools:
if self.config.get(str(tool)):
match tool:
case "optitype":
sub_steps.append(OptiTypeStepPart)
case "arcashla":
sub_steps.append(ArcasHlaStepPart)
sub_steps = [LinkInStep, LinkOutStepPart, OptiTypeStepPart, ArcasHlaStepPart]
self.register_sub_step_classes(tuple(sub_steps))
#: Mapping from library name to library object
self.ngs_library_name_to_ngs_library = OrderedDict()
Expand Down

0 comments on commit 73bbf66

Please sign in to comment.