Closed scottgigante-immunai closed 1 year ago
I agree the stack trace is not relevant in this particular situation. I'll look into whether we can omit the stack trace in some situations.
However, this is a Viash related suggestion, so I'll transfer the issue to that repo.
Let's leave this open until that issue is closed -- I consider this still a problem with this repo, even if the solution should be applied elsewhere.
This issue was solved in Viash 0.7.5. Example when I make a typo in the type
:
$ viash config view src/tasks/dimensionality_reduction/methods/neuralee/config.vsh.yaml
viash: Error parsing, invalid Viash Config content in file 'file:/home/rcannood/workspace/openproblems/openproblems-v2/src/tasks/dimensionality_reduction/methods/neuralee/config.vsh.yaml'.
Details:
Type 'nteger' is not recognised. Valid types are 'string', 'integer', 'long', 'double', 'boolean', 'boolean_true', 'boolean_false', and 'file'.
{
"name" : "--n_hvg",
"type" : "nteger",
"description" : "Number of highly variable genes to subset to. If not specified, the input matrix will not be subset.",
"default" : 1000
}
This should be a short and simple error message, instead it's 50 lines including a link to github issues and a deep stack trace.