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
Thanks for this, the error message when a factory is ill typed is still incorrect I believe. In the example below we get:
(repeats)
ERROR:nemo_run.cli.cli_parser:Error processing argument 'Error parsing argument: Failed to parse 'simple_recipe' as <class 'bionemo.geneformer.run.exploring_factories.SimpleCfg'>: Unsupported type: <class 'bionemo.geneformer.run.exploring_factories.SimpleCfg'>
But I would have expected the Unsupprted type message to say OtherCfg. Looking at the call stack it seems like the value in annotation is of the underlying entrypoing and not the return signature of the factory.
Expected:
ERROR:nemo_run.cli.cli_parser:Error processing argument 'Error parsing argument: Failed to parse 'simple_recipe' as <class 'bionemo.geneformer.run.exploring_factories.SimpleCfg'>: Unsupported type: <class 'bionemo.geneformer.run.exploring_factories.OtherCfg'>
hemildesai
changed the title
The error message when a factory is ill typed is still incorrect incorrect I
The error message when a factory is ill typed is still incorrect
Sep 24, 2024
(repeats)
But I would have expected the Unsupprted type message to say
OtherCfg
. Looking at the call stack it seems like the value inannotation
is of the underlying entrypoing and not the return signature of the factory.Expected:
Simple example to reproduce:
factories.py
main.py
Originally posted by @skothenhill-nv in #56 (comment)
The text was updated successfully, but these errors were encountered: