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
The current error message when one forgets to set the prop_missing parameter in the config file is
staig001@busoni create_syn_data % metasyn create-meta --config host_config.toml -o hosts_gmf_1
.json
Traceback (most recent call last):
File "/opt/homebrew/bin/metasyn", line 8, in <module>
sys.exit(main())
^^^^^^
File "/Users/staig001/git-repos/metasyn/metasyn/__main__.py", line 82, in main
create_metadata()
File "/Users/staig001/git-repos/metasyn/metasyn/__main__.py", line 132, in create_metadata
meta_frame = MetaFrame.from_config(meta_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/staig001/git-repos/metasyn/metasyn/metaframe.py", line 177, in from_config
return cls.fit_dataframe(None, meta_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/staig001/git-repos/metasyn/metasyn/metaframe.py", line 148, in fit_dataframe
var = MetaVar(
^^^^^^^^
File "/Users/staig001/git-repos/metasyn/metasyn/var.py", line 77, in __init__
if self.prop_missing < -1e-8 or self.prop_missing > 1 + 1e-8:
^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'NoneType' and 'float'
It would be nice if the error message could state for which variable the prop_missing is missing.
The text was updated successfully, but these errors were encountered:
The current error message when one forgets to set the
prop_missing
parameter in the config file isIt would be nice if the error message could state for which variable the
prop_missing
is missing.The text was updated successfully, but these errors were encountered: