Skip to content

multi-inputs file name collisions cause silent information loss - prev.: QUESTION: When/How is /valohai/config/inputs.json created ?Β #145

@Kenneth-Schroeder

Description

@Kenneth-Schroeder

When/How is /valohai/config/inputs.json created?
I noticed that when starting a valohai step (in my case adhoc), in valohai-utils, load_global_state() updates the inputs through the load_inputs_from_config() function - which accesses /valohai/config/inputs.json.
Unfortunately, I can't figure out how, when or through which code this file is created.

The issue I want to solve is that multiple inputs with the same name (and parent directories) are overwritten by each other.
The (magically-created) /valohai/config/inputs.json file however, is already removing items with duplicate names.

I have already made a few contributions to valohai, but I can't find the source of /valohai/config/inputs.json this time...

@akx @tokkoro

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