You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the trace.txt uses the tag which is simply set to $id to figure out which process is linked to which component. However, the structure of the id is highly dependant on the task and component being run, as different steps will add on extra info to the id. Example, a predict modality metric: openproblems_neurips2022/pbmc_multiome/normal/log_cp10k.guanlab_dengkw_pm.correlation.
I'd be useful if methods and metrics could have their tag set to something that is machine interpretable, e.g. a json {"dataset_id": ..., "normalization_id": ..., ...}. Fundamentally, it would probably be a good idea to implement this at a Viash level, so we can do something like:
However, perhaps there is something we can already do right now. The issue is that the tag is currently limited to the information that the underlying process has access to, namely:
In here, id is self-explanatory, input_mod1 and input_mod2 correspond to input files used by the component, and args are all other arguments a component has.
That's why we are able to use tag: "$id". I suppose that doesn't leave much room for other arguments, unless we add an optional name: --tag, type: string argument to all methods and metrics so that we can use them for setting tag: "${args.tag ?: id}".
Right now, the
trace.txt
uses thetag
which is simply set to$id
to figure out which process is linked to which component. However, the structure of the id is highly dependant on the task and component being run, as different steps will add on extra info to the id. Example, a predict modality metric:openproblems_neurips2022/pbmc_multiome/normal/log_cp10k.guanlab_dengkw_pm.correlation
.I'd be useful if methods and metrics could have their tag set to something that is machine interpretable, e.g. a json
{"dataset_id": ..., "normalization_id": ..., ...}
. Fundamentally, it would probably be a good idea to implement this at a Viash level, so we can do something like:However, perhaps there is something we can already do right now. The issue is that the tag is currently limited to the information that the underlying process has access to, namely:
In here,
id
is self-explanatory, input_mod1 and input_mod2 correspond to input files used by the component, and args are all other arguments a component has.That's why we are able to use
tag: "$id"
. I suppose that doesn't leave much room for other arguments, unless we add an optionalname: --tag, type: string
argument to all methods and metrics so that we can use them for settingtag: "${args.tag ?: id}"
.@KaiWaldrant WDYT?
The text was updated successfully, but these errors were encountered: