Pull request #1702: PIPE-2698: fix a `string.format` use bug.
Merge in PIPE/pipeline from PIPE-2698-str-formatting-fix to main
* commit '9beb677e889ee835b6ef06701aeb8dba7b5082b4': PIPE-2698: deduplicate while preserving the order. PIPE-2698: fix a `string.format` use bug; minior codestyle updates.
Pull request #1701: PIPE-2909/PIPE-2270: fix the indentation bug for the frequency grid overlapping check logic.
Merge in PIPE/pipeline from PIPE-2270-PIPE-2909-fix-nchan-precheck-logic to main
* commit '661b07a0fae3bced3dde113130d21685cc5010a1': PIPE-2909/PIPE-2270: fix the indentation bug for the frequency grid overlapping check logic.