Skip to content

Commit

Permalink
Fixed for cmaas_utils_0.1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
abodeuis committed Aug 16, 2024
1 parent 849a7c6 commit a9d88d1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
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

0 comments on commit a9d88d1

Please sign in to comment.