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

telescope label longer than 10 characters in RV file truncated in prepare_data, leading to error #13

Open
LouiseDyregaard opened this issue Nov 8, 2024 · 0 comments

Comments

@LouiseDyregaard
Copy link

In src/prepare_data.py, line 28, the dtype for the telescope label can only hold 10 characters; so e.g. BIS_CORALIE -> BIS_CORALI. When later assigning labels from telescopes_labels (containing 'BIS_CORALIE') the code fails; in my case when deriving smart priors.

I suggest using S15/U15 for the dtype (in src/prepare_data.py, line 28,), and/or caution the user in default.py that telescope_labels can only have a certain length.

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

1 participant