Short-bus / pilomar

RaspberryPi based miniature observatory
https://shortbus.blog/
GNU General Public License v3.0
69 stars 14 forks source link

Typo in src/pilomarfits.py - fails checking for --raw switch. #78

Closed Short-bus closed 3 months ago

Short-bus commented 3 months ago

The following command fails...

pi@pilomar3:~/pilomar/src $ python3 pilomarfits.py --output /media/pi/USBMEMORY/campaign_ngc2632_e1.0s/session_20240726170315/light/light_20240726170430_00.jpg --quality 100 --width 4056 --height 3040 --shutter 1000000 --metadata --tuning-file imx477_noir.json --numpyfile --raw
Traceback (most recent call last):
  File "/home/pi/pilomar/src/pilomarfits.py", line 261, in <module>
    temp = Argumentdict['--raw']['all'] # Was an overriding filename specified?
           ^^^^^^^^^^^^
NameError: name 'Argumentdict' is not defined. Did you mean: 'ArgumentDict'?
Short-bus commented 3 months ago

Appears to be a typo in the code. Checking correction.

Short-bus commented 3 months ago

Closed. After double-checking, the published code does not have the error. It's only in recent development changes.