There is code in util.py:set_current_mode that bypasses the pysmurf interface and accesses hardware registers directly. This is not supported and could easily break in the future.
Should figure out why this was deemed necessary and implement sufficient functionality in pysmurf for this operation.