https://github.com/EoRImaging/pyfhd/blob/3f4691abe66abb281b59af0337d2934f1f623d1d/src/pyfhd/pyfhd.py#L627 1) Argument "cal" passed, which is not initialized when the model file path is set to None (or when calibration checkpoint is false). 2) "model_uv[pol_i]" referenced within the quickview function, which would throw an error when model_uv is None (when not providing a model)
pyfhd/src/pyfhd/pyfhd.py
Line 627 in 3f4691a