connorcoley / rdchiral

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

return format fix in template_extractor.py #31

Open zhengkaitu opened 3 years ago

zhengkaitu commented 3 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).