This one was hard to find, replace in structure conversions now works :)

pull/1/head
Ozbolt Menegatti 4 years ago
parent c83f8268d1
commit c4938b5785

@ -37,8 +37,8 @@ def convert_structure(structure):
for vmatch, vfrom, vto in structure_conversions:
if vmatch.test(structure):
# for some reason some times this fails to do correct replacement, but this helps #FML
# structure += " "
# we need to remove replace alias here as we want to use javascript's one
__pragma__('noalias', 'replace')
return structure.replace(vfrom, vto).strip()
return None

Loading…
Cancel
Save