pathmap hack for pref_flow
analysis ipynb now uses pref flow again