Skip to content

Commit

Permalink
fixes bug with local paths
Browse files Browse the repository at this point in the history
  • Loading branch information
alpha-beta-soup committed May 3, 2023
1 parent 20c0f45 commit ac87914
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,13 @@ vector2dggs h3 -v DEBUG -id ogc_fid -r 9 -p 5 -t 4 --overwrite -tbl topo50_lake
title={{vector2dggs}},
author={Ardo, James and Law, Richard},
url={https://github.com/manaakiwhenua/vector2dggs},
version={0.3.0},
version={0.3.1},
date={2023-04-20}
}
```
APA/Harvard
> Ardo, J., & Law, R. (2023). vector2dggs (0.3.0) [Computer software]. https://github.com/manaakiwhenua/vector2dggs
> Ardo, J., & Law, R. (2023). vector2dggs (0.3.1) [Computer software]. https://github.com/manaakiwhenua/vector2dggs
[![manaakiwhenua-standards](https://github.com/manaakiwhenua/vector2dggs/workflows/manaakiwhenua-standards/badge.svg)](https://github.com/manaakiwhenua/manaakiwhenua-standards)
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 = "vector2dggs"
version = "0.3.0"
version = "0.3.1"
description = "CLI DGGS indexer for vector geospatial data"
authors = ["James Ardo <[email protected]>"]
maintainers = ["Richard Law <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion vector2dggs/h3.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def h3(
"""
con: sqlalchemy.engine.Connection = None
scheme: str = urlparse(vector_input).scheme
if scheme is not None and scheme != "file":
if bool(scheme) and scheme != "file":
# Assume database connection
con = sqlalchemy.create_engine(vector_input)
elif not Path(vector_input).exists():
Expand Down

0 comments on commit ac87914

Please sign in to comment.