simonsobs / simonsobs/tilemaker

Make catalog 'extra' optional

Open Beginner friendly
#45 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.