rdchiral icon indicating copy to clipboard operation
rdchiral copied to clipboard

return format fix in template_extractor.py

Open zhengkaitu opened this issue 3 years ago • 0 comments

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).

zhengkaitu avatar Oct 30 '21 18:10 zhengkaitu