Skip to content

Commit

Permalink
Correctly return TIC ID list rather than candidate entities with TIC …
Browse files Browse the repository at this point in the history
…IDs.
  • Loading branch information
golmschenk committed Nov 7, 2020
1 parent a683688 commit 1ed893b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ramjet/database/tess_planet_disposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ def get_tic_ids_of_passing_vetted_transiting_planet_candidates() -> List[int]:
TessPlanetDisposition.select(TessPlanetDisposition.transiter).where(
TessPlanetDisposition.disposition == Disposition.FAIL.value))
).order_by(TessTarget.tic_id)
return list(candidate_tic_id_query)
return [candidate.tic_id for candidate in candidate_tic_id_query]

0 comments on commit 1ed893b

Please sign in to comment.