-
Notifications
You must be signed in to change notification settings - Fork 1
fix for recursion depth error #143
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
Conversation
src/rec_prithvi.py
Outdated
| if molecule in visited: | ||
| logger.warning(f"Cycle detected: {molecule} already processed") | ||
| return {'type': 'mol', 'smiles': molecule, 'is_chemical': True, 'in_stock': False, 'children': []}, False | ||
| visited.add(molecule) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@redrodeo03 is molecules added to set canonical? if not, duplicates may go undetected?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
ARY2260
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a doubt
|
@redrodeo03 The CI is failing. Please fix |
ARY2260
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Fix #(issue)
Type of change
Please check the option that is related to your PR.
Checklist