simonsobs / simonsobs/tilemaker
Make catalog 'extra' optional
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
For source catalog jsons, this leads to an error ('extra argument missing')
[
{
"ra": 90.222,
"dec": -12.34,
"name": "Favourite",
]
but this works:
[
{
"ra": 90.222,
"dec": -12.34,
"name": "Favourite",
"extra": { }
]
For large catalogs, it might be extraneous to add that empty dictionary, so could consider skipping if not found.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the source catalog JSON parsing or validation entry point that reports the "extra argument missing" error. Compare parsing for catalogs with and without the extra field, then verify that missing extra dictionaries are accepted while existing extra data still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100