Skip to content

Commit

Permalink
fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ehneilsen committed Sep 13, 2024
1 parent b7184bd commit ebf3973
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions schedview/collect/opsim.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ def read_opsim(

try:
try:
visits = pd.DataFrame(maf.get_sim_data(sim_connection, constraint, norm_columns, **kwargs))
visits = pd.DataFrame(
maf.get_sim_data(sim_connection, constraint, norm_columns, **kwargs)
)
except UserWarning:
warn("No visits match constraints.")
visits = (
Expand Down Expand Up @@ -198,8 +200,9 @@ def read_ddf_visits(
The start time for visits to be loaded
end_time : `str`, `astropy.time.Time`
The end time for visits ot be loaded
dbcols : `list` [`str`]
Columns required from the database.
dbcols : `Note` oc `list` [`str`]
Columns required from the database. Defaults to None,
which uses all columns in the database.
stackers : `list` [`rubin_sim.maf.stackers`], optional
Stackers to be used to generate additional columns.
Expand Down

0 comments on commit ebf3973

Please sign in to comment.