Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError in check_cals #162

Open
tansb opened this issue Dec 20, 2023 · 1 comment
Open

TypeError in check_cals #162

tansb opened this issue Dec 20, 2023 · 1 comment

Comments

@tansb
Copy link

tansb commented Dec 20, 2023

I tried running check_cals (check_cals raw/KB*.fits) and encountered the following error:

Found 102 files to inspect
Traceback (most recent call last):
  File "/Users/tbarone/opt/anaconda3/envs/kcwidrp/bin/check_cals", line 8, in <module>
    sys.exit(main())
  File "/Users/tbarone/opt/anaconda3/envs/kcwidrp/lib/python3.7/site-packages/kcwidrp/scripts/check_cals.py", line 129, in main
    proctab = Proctab(dummy_logger)
TypeError: __init__() takes 1 positional argument but 2 were given

After editing line 129 in the check_cals.py file to remove the dummy_logger variable input to proctab the script then ran. Looks like this is related to a recent change 2ea95ea which removed the logger argument from proctab?

@MNBrod
Copy link
Contributor

MNBrod commented Dec 20, 2023

Yup, that looks like the issue, thanks for tracking it down! I'll issue a fix shortly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants