https://github.com/plasma-umass/scalene/blob/6980cb0c41df6ae724a2ce8d4686398b4b058853/scalene/scalene_json.py#L109C12-L109C15 Shouldn't it be `if force_print and not ...`? The printing will happen if `force_print=False`.