juanep97 / iop4

IOP4, the Interactive Optical Photo-Polarimetric Python Pipeline.
https://juanep97.github.io/iop4/
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

Credential config options are not properly overriden #119

Closed juanep97 closed 3 months ago

juanep97 commented 4 months ago

Using iop4 -o caha_user={{other user}} -o caha_password={{other password}} does not have the intended effect because the telescope class variables are defined at import time https://github.com/juanep97/iop4/blob/75a1db11173702e42ecfe64710f3f66bd34657b7/iop4lib/telescopes/cahat220.py#L54