helper for modifyDataCardForMu.py