Skip to content

Commit

Permalink
Merge pull request #65 from eukarya-inc/dev-59-fix-api-document
Browse files Browse the repository at this point in the history
#59 fix api document
  • Loading branch information
smellman authored Mar 13, 2024
2 parents 8903130 + 5f935f2 commit 628a512
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ MVTのパーサーするには、以下を参照してください。

```bash
python3.9 -m venv venv
./venv/bin/activate
source venv/bin/activate
pip install -U pip
pip install -r dev-requirements.txt
pytest --cov=plateauutils --cov-report=html --cov-fail-under=90
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ How to develop
.. code:: bash
python3.9 -m venv venv
./venv/bin/activate
source venv/bin/activate
pip install -U pip
pip install -r dev-requirements.txt
pytest --cov=plateauutils --cov-report=html --cov-fail-under=90
2 changes: 2 additions & 0 deletions plateauutils/parser/city_gml_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def parse(self, target_path: str = "") -> list:
* min_height: 最小高さ
* measured_height: 測定高さ
* building_structure_type: 建物構造種別(コード)
* usage: 用途
"""
# ファイルが存在しないならエラー
if not os.path.exists(target_path):
Expand Down Expand Up @@ -142,6 +143,7 @@ def download_and_parse(self, url: str = "", target_dir: str = "") -> list:
* min_height: 最小高さ
* measured_height: 測定高さ
* building_structure_type: 建物構造種別(コード)
* usage: 用途
"""
saved_path = self._download(url, target_dir)
return self.parse(saved_path)
Expand Down

0 comments on commit 628a512

Please sign in to comment.