Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Eliminate a deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
esheehan-gsl committed Nov 1, 2023
1 parent 34ee78d commit 9a2603d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unified_graphics/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def diagnostics(
"coordinates": [float(obs.longitude.iloc[0]), float(obs.latitude.iloc[0])],
},
}
for _, obs in data.groupby(axis=0, level="nobs")
for _, obs in data.groupby("nobs")
]

response = jsonify({"type": "FeatureCollection", "features": features})
Expand Down

0 comments on commit 9a2603d

Please sign in to comment.