Skip to content

Commit

Permalink
Load observations properly
Browse files Browse the repository at this point in the history
  • Loading branch information
kboone committed Apr 23, 2019
1 parent 851dc11 commit ea6c357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avocado/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(self, name, metadata, observations=None):
# Load each astronomical object in the dataset.
objects = []
for object_id, object_observations in \
observations.groupby('object_id').groups.items():
observations.groupby('object_id'):
object_metadata = metadata.loc[object_id]
new_object = AstronomicalObject(object_metadata,
object_observations)
Expand Down

0 comments on commit ea6c357

Please sign in to comment.