Skip to content

Commit

Permalink
fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
imedan committed Feb 2, 2024
1 parent 367c80d commit 87167ef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/valis/db/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,9 @@ def get_targets_obs(release: str, obs: str, obsWave: str) -> peewee.ModelSelect:
return query_boss
elif obsWave == 'apogee':
# temportary, just return some sdss_id
return query = vizdb.SDSSidStacked.select()\
.where(vizdb.SDSSidStacked.sdss_id << sdss_id_ap)
query = vizdb.SDSSidStacked.select()\
.where(vizdb.SDSSidStacked.sdss_id << sdss_id_ap)
return query
else:
raise ValueError('Did not pass "boss", "apogee" or "all" to obsWave')

Expand Down

0 comments on commit 87167ef

Please sign in to comment.