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 bug information provided is as follows, what can I do to overcome it? Please help me,Thank you
File "protein_pretrain.py", line 60, in protein_graph
g = construct_graph(config=config, path=str(protein_path)+str(pdb_ID)+".pdb")
File "anaconda3/envs/torch2.0/lib/python3.9/site-packages/graphein/protein/graphs.py", line 833, in construct_graph
g = initialise_graph_with_metadata(
File "anaconda3/envs/torch2.0/lib/python3.9/site-packages/graphein/protein/graphs.py", line 565, in initialise_graph_with_metadata
protein_df.loc[protein_df["chain_id"] == c]["residue_name"]
File "anaconda3/envs/torch2.0/lib/python3.9/site-packages/pandas/core/series.py", line 4771, in apply
return SeriesApply(self, func, convert_dtype, args, kwargs).apply()
File "anaconda3/envs/torch2.0/lib/python3.9/site-packages/pandas/core/apply.py", line 1123, in apply
return self.apply_standard()
File "anaconda3/envs/torch2.0/lib/python3.9/site-packages/pandas/core/apply.py", line 1174, in apply_standard
mapped = lib.map_infer(
File "pandas/_libs/lib.pyx", line 2924, in pandas._libs.lib.map_infer
File "anaconda3/envs/torch2.0/lib/python3.9/site-packages/graphein/protein/utils.py", line 379, in three_to_one_with_mods
return RESI_THREE_TO_1[res]
KeyError: 'AYA'
The text was updated successfully, but these errors were encountered:
* add AYA to constants #387
* bump changelog
* reset index after handling altlocs #384
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: Arian Jamasb <arian.jamasb@roche.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
The bug information provided is as follows, what can I do to overcome it? Please help me,Thank you
The text was updated successfully, but these errors were encountered: