Here is a relevant code.
|
ad_out.orig_filename = ad_out.phu.get('ORIGNAME') |
I understand that ORIGNAME can be set by standardizeHeaders primitive. Still, I think it could be better to simply use 'orig_filename' property of adinputs[0], for example, instead of directly accessing the header.