desihub / desihub/prospect

utilities.create_subsetdb throw error for data types that are not string

Open
#103 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14
Forks
10
Avg merge
38m
Merged PRs (30d)
1

Description

Admittedly a very small thing but it would be great for the utilities.create_subsetdb function to explicitly throw a type error when the provided healpix values in the list are not cast as strings.

Took a while to figure out what was going wrong.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the utilities.create_subsetdb entry point and trace how the provided healpix values are handled. Confirm the expected behavior for non-string values and verify that they raise a TypeError rather than failing later with a less explicit error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.