Skip to content

Parsing relative data in the global section of the workflow yaml #1350

@hboisgon

Description

@hboisgon

HydroMT version checks

  • I have checked that this issue has not already been reported.
  • I have checked that this bug exists on the latest version of HydroMT.

Reproducible Example

Workflow yaml starting with:

global:
  data_libs:
    - "examples/local_sources.yml"

Current behaviour

The relative path to data_libs is not parsed. It will then be interpreted as relative to the working dir and not relative to the workflow file itself.

Desired behaviour

Parse to a relative path based on the path of the workflow yml.

Additional context

No response

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingNeeds refinementissue still needs refinement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions