Open leejjoon opened 5 months ago
Here is a relevant code.
https://github.com/GeminiDRSoftware/DRAGONS/blob/32aee56638c5fdb0b7b41afa13ee3d06e3cc2a87/geminidr/core/primitives_stack.py#L400
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.
ORIGNAME
standardizeHeaders
Here is a relevant code.
https://github.com/GeminiDRSoftware/DRAGONS/blob/32aee56638c5fdb0b7b41afa13ee3d06e3cc2a87/geminidr/core/primitives_stack.py#L400
I understand that
ORIGNAME
can be set bystandardizeHeaders
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.