I am trying to pass an event argument from a function to another. The example code that I have now is:
def handle_store(event):
ds = event.dataset
save(ds,event)
def save(ds,event):
ds.file_meta = event.file_meta
ds.save_as(ds.SOPInstanceUID, write_like_original=False)
return 0x0000
handlers = [(evt.EVT_C_STORE, handle_store)]
The ds can be passed into the next save func but the event does not. Can someone help? Thanks