Skip to content

Using dictionary format under [meta.concat] fails #40

@hillierdani

Description

@hillierdani

Thanks for sharing and maintaining wellmap! I use it extensively but now face a new issue:

Documentation specifies:
"The paths can be specified either as a string, a list, or a dictionary. "

I have this in my TOML file:

[meta.concat]
TRX-0032 = ['../human/TRX-0032_dmem_20240327.toml', '../human/TRX-0032_20231004.toml']
TRX-0033 = ['../human/TRX-0033_dmem_20240327.toml', '../human/TRX-0033_20231004.toml']

Call to wellmap.load on this aggregator TOML file fails at

  File "/Users/me/.pyenv/versions/3.11.6/lib/python3.11/pathlib.py", line 493, in _parse_args
    a = os.fspath(a)
        ^^^^^^^^^^^^
TypeError: expected str, bytes or os.PathLike object, not dict

Did I miss here something or the documentation is not in line with the actual implementation?
Thanks for any hints on how to get this feature working!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions