Skip to content

Remove "out" option of AnchorMixin class #72

Description

@corentincarton

What happened?

ECF_OUT, which sets the directory where the job outputs are written, can be set at the Suite (or AnchorFamily) level through the option "out". This is not correct, it should be passed to the host through the log_directory argument, see https://github.com/ecmwf/pyflow/blob/develop/pyflow/anchor.py#L14.
This makes more sense as this directory is only visible by the host. So if you change host, you need to change the log_directory as well, which won't be done through the "out" argument of the Suite class.
We should deprecate this in the next release.

What are the steps to reproduce the bug?

In current version 3.4.1

Version

3.4.1

Platform (OS and architecture)

Any

Relevant log output

Accompanying data

No response

Organisation

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions