diff --git a/src/lib/structure_conversions.py b/src/lib/structure_conversions.py index afce583..83a93cb 100644 --- a/src/lib/structure_conversions.py +++ b/src/lib/structure_conversions.py @@ -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