Skip to content

Commit

Permalink
fix: rasterizer
Browse files Browse the repository at this point in the history
  • Loading branch information
HideBa committed May 4, 2024
1 parent be559d6 commit 0e8ea8e
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"version": "0.2.1",
"configurations": [
{
"name": "Python: Debug test",
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


# Changelog
## [0.2.0] - 2024-05-04
## [0.2.1] - 2024-05-04
### Changed
* feat: Add validation for exclusive arguments
* feat: Update CLI options for city and bbox
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AHN CLI

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![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)
[![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)
[![CICD Status: Passing](https://img.shields.io/badge/CICD-Passing-brightgreen.svg)](https://github.com/HideBa/ahn-cli/actions)

## Description
Expand Down
2 changes: 1 addition & 1 deletion ahn_cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


@click.command()
@click.version_option(version="0.2.0", prog_name="ahn_cli")
@click.version_option(version="0.2.1", prog_name="ahn_cli")
@click.option(
"-o",
"--output",
Expand Down
2 changes: 0 additions & 2 deletions ahn_cli/manipulator/rasterizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ def polygon_to_raster(
Returns:
Tuple[np.ndarray, Affine]: A tuple containing the rasterized numpy array and the affine transformation matrix.
"""
# Implementation code here
pass

bbox = polygon.bounds
height = int((bbox[3] - bbox[1]) / resolution)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ahn_cli"
version = "0.2.0"
version = "0.2.1"
description = ""
authors = ["HideBa <baba.papa1120.ba@gmail.com>"]
license = "MIT"
Expand Down

0 comments on commit 0e8ea8e

Please sign in to comment.