[docs]defdecorate_actual_iv_impl(iv,signal=None):# do some tbhiv-specific stuff and then do base stuffreturnbase_peek_camp.decorate_actual_iv_impl(iv,signal)
#return base_peek_camp.decorate_actual_iv( iv, signal )# Replace emod_api decorate function with ours, but then call into that for base functionalitybase_peek_camp.decorate_actual_iv=decorate_actual_ivif__name__=="__main__":importargparseparser=argparse.ArgumentParser()parser.add_argument('-c','--campaign',help='Existing campaign.json file path.')parser.add_argument('-e','--encode',help='encode')args=parser.parse_args()ifargs.encode:base_peek_camp.encode(args.campaign)else:base_peek_camp.decode(args.campaign)