Skip to content

BatchSchedulerExecutorConfig constructor propagates args incorrectly #514

@nkanazawa1989

Description

@nkanazawa1989

BatchSchedulerExecutorConfig instantiates the superclass with args, but its order seems wrong.

super().__init__(work_directory, launcher_log_file)

def __init__(self, launcher_log_file: Optional[Path] = None,
work_directory: Optional[Path] = None) -> None:

When both are specified, job scripts are created in unexpected folder and the launcher log may be dumped into a folder, which crashes the workflow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions