Skip to content

numeric dict keys are not recognized in dso get-config #127

@tschwarzl

Description

@tschwarzl

Report

Unfortunately, dso does not support yet the dependency of an array of input files. E.g.

params.in.yaml

files:
   - !path input/A.tsv
   - !path input/B.tsv

dvc.yaml

   deps: 
       - ${ files }

, therefore I tried following format in a project

params.in.yaml

files:
    1: !path input/A.tsv
    2: !path input/B.tsv

dvc.yaml

   deps: 
       - ${ files.1 }
       - ${ files.2 }

dso get-config then cannot resolve the numeric key:

An error occurred when executing dso get-config: An error occurred when executing dso get-config:
                     ERROR    dvc.yaml defines parameter '1' that is not in params.yaml    

Versions

dso, version 0.13.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions