Skip to content

Commit 0e8ea8e

Browse files
committed
fix: rasterizer
1 parent be559d6 commit 0e8ea8e

File tree

6 files changed

+5
-7
lines changed

6 files changed

+5
-7
lines changed

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use IntelliSense to learn about possible attributes.
33
// Hover to view descriptions of existing attributes.
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5-
"version": "0.2.0",
5+
"version": "0.2.1",
66
"configurations": [
77
{
88
"name": "Python: Debug test",

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22

33
# Changelog
4-
## [0.2.0] - 2024-05-04
4+
## [0.2.1] - 2024-05-04
55
### Changed
66
* feat: Add validation for exclusive arguments
77
* feat: Update CLI options for city and bbox

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# AHN CLI
22

33
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
4-
[![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-green.svg)](https://github.com/HideBa/ahn-cli/releases/tag/v0.2.0)
4+
[![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-green.svg)](https://github.com/HideBa/ahn-cli/releases/tag/v0.2.1)
55
[![CICD Status: Passing](https://img.shields.io/badge/CICD-Passing-brightgreen.svg)](https://github.com/HideBa/ahn-cli/actions)
66

77
## Description

ahn_cli/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030

3131
@click.command()
32-
@click.version_option(version="0.2.0", prog_name="ahn_cli")
32+
@click.version_option(version="0.2.1", prog_name="ahn_cli")
3333
@click.option(
3434
"-o",
3535
"--output",

ahn_cli/manipulator/rasterizer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ def polygon_to_raster(
2020
Returns:
2121
Tuple[np.ndarray, Affine]: A tuple containing the rasterized numpy array and the affine transformation matrix.
2222
"""
23-
# Implementation code here
24-
pass
2523

2624
bbox = polygon.bounds
2725
height = int((bbox[3] - bbox[1]) / resolution)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "ahn_cli"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
description = ""
55
authors = ["HideBa <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)