astropy / astropy/astroquery

Changing config items at runtime is broken

Open
#2,291 8 comments 0 reactions 0 assignees View on GitHub
bug infrastructure
Dominant language
Python
Stars
791
Forks
451
Avg merge
1d 3h
Merged PRs (30d)
4

Description

Changing config values at runtime should be possible, yet it's not working: https://docs.astropy.org/en/stable/config/index.html#changing-values-at-runtime

```
>>> from astroquery.simbad import conf
>>> conf.server='simbad.harvard.edu'
>>> from astroquery.simbad import Simbad
>>> Simbad.SIMBAD_URL
'http://simbad.u-strasbg.fr/simbad/sim-script'
```

Contributor guide

Open the contributing guide

Research direction

Start with the runtime configuration guidance at the linked Astropy documentation and reproduce the example using astroquery.simbad.conf and Simbad.SIMBAD_URL. Trace why changing conf.server does not affect the URL, then verify that runtime configuration changes are reflected in the resulting Simbad setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.