Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed for cmaas_utils_0.1.11 #14

Merged
merged 1 commit into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cdrhook/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def convert_cdr_schema_legend_items_to_cmass_legend(cdr_legend:List[LegendItemRe
map_unit.color = item.color
map_unit.pattern = item.pattern
#map_unit.overlay =
map_unit.bounding_box = [item.px_bbox[0:2],item.px_bbox[2:4]]
map_unit.label_bbox = [item.px_bbox[0:2],item.px_bbox[2:4]]
legend.features.append(map_unit)
return legend

Expand Down
2 changes: 1 addition & 1 deletion cdrhook/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ rasterio
git+https://github.com/DARPA-CRITICALMAAS/[email protected]

--extra-index-url https://test.pypi.org/simple/
cmaas_utils>=0.1.10
cmaas_utils==0.1.11
1 change: 0 additions & 1 deletion cdrhook/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import retrieve
import convert
from connector import CdrConnector
# from cmaas_utils.io import saveCMASSMap
from cmaas_utils.types import CMAAS_Map
from cdr_schemas.cdr_responses.area_extractions import AreaType

Expand Down
Loading