Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 292 and singularity image #327

Merged
merged 7 commits into from
May 2, 2024
Merged

Fix 292 and singularity image #327

merged 7 commits into from
May 2, 2024

Conversation

dingquanyu
Copy link
Collaborator

No description provided.

@dingquanyu dingquanyu linked an issue May 2, 2024 that may be closed by this pull request
@dingquanyu dingquanyu requested a review from DimaMolod May 2, 2024 10:19

# Add extra features to make it compatible with pickle features obtaiend from mmseqs2
template_confidence_scores = self.feature_dict.get('template_confidence_scores', None)
template_release_date = self.feature_dict.get('template_release_date', None)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you tried to run the entire prediction cycle with mixed features? I am not sure AF accepts 'None' as the template_confidence_score and template_release_date

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you tried to run the entire prediction cycle with mixed features? I am not sure AF accepts 'None' as the template_confidence_score and template_release_date

@DimaMolod This step is only preparing for the next block, which will create some fake values if these features are None.

if template_confidence_scores is None:
self.feature_dict.update(
{'template_confidence_scores': np.array([[1] * len(self.sequence)])}
)
if template_release_date is None:
self.feature_dict.update({"template_release_date" : ['none']})

@dingquanyu dingquanyu merged commit ab7b926 into main May 2, 2024
8 checks passed
@dingquanyu dingquanyu deleted the fix-292 branch May 2, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KeyError: 'template_confidence_scores'
2 participants