Closed nleroy917 closed 1 year ago
I think its root cause is peppy
occurring right here: https://github.com/pepkit/peppy/blob/c7ecbd3e0d5ceb0c3561ff290cac8c58c634d478/peppy/project.py#L300
In p_dict
, _sample_df
is never set. The closest thing is _sample_dict
.
Locally, changing pepdbagent.Connection._create_digest
to look for _sample_dict
instead seems to fix things, for a bit. But then it later stumbles on the _subsample_df
key:
Traceback (most recent call last):
File ".venv/lib/python3.9/site-packages/attmap/ordattmap.py", line 46, in __getitem__
return super(OrdAttMap, self).__getitem__(item)
KeyError: '_subsample_df'
We need to change the following:
_sample_df
needs to be _sample_dict
_subsample_df
needs to be _subsample_dict
The proposed solution:
Couple the keys/attributes by importing from peppy
I was attempting to load a new database with new PEPs that conforms to the latest schema (tags) and I received the following error:
Running isolated in the REPL: