connorcoley / rdchiral

Wrapper for RDKit's RunReactants to improve stereochemistry handling
MIT License
154 stars 51 forks source link

return format fix in template_extractor.py #31

Open zhengkaitu opened 2 years ago

zhengkaitu commented 2 years ago

There are some (corner) cases in template_extractor.py which would return None instead of a dict. This introduces some inconsistencies, and possibly AttributeError in downstream processing (e.g. for models that only check for dict keys).