Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.5.0"
".": "0.6.0"
}
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ authors:
- family-names: "Szell"
given-names: "Michael"
title: "FixBikeNet"
version: 0.5.0
date-released: 2026-05-06
version: 0.6.0
date-released: 2026-05-27
url: "https://github.com/BikeNetKit/FixBikeNet"
preferred-citation:
type: article
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The software downloads and pre-processes data from OpenStreetMap, identifies the
### The easy way

> [!IMPORTANT]
> As of 2026-05-06, the conda-forge installation is not yet working. We will remove this note once it works.
> As of 2026-05-27, the conda-forge installation is not yet working. We will remove this note once it works.

The best way to install FixBikeNet is using [`conda`](https://docs.conda.io/projects/conda/en/latest/index.html) and the `conda-forge` channel:

Expand Down
5 changes: 5 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## Version 0.6.0 (2026-05-27)

- πŸ”§ fix for config.yml in package
- πŸ”§ solve issues when highway type not in config

## Version 0.5.0 (2026-05-06)

- ✨Initial release ✨
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import fixbikenet # noqa

# version = growbikenet.__version__
version = "0.5.0"
version = "0.6.0"
release = version

# Add any Sphinx extension module names here, as strings. They can be
Expand Down
1 change: 1 addition & 0 deletions fixbikenet/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import contextlib
from importlib.metadata import PackageNotFoundError, version

from . import config
from . import functions
from fixbikenet.fixbikenet import fixbikenet

Expand Down
2 changes: 1 addition & 1 deletion fixbikenet/_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""fixbikenet package version."""

__version__ = "0.5.0" # x-release-please-version
__version__ = "0.6.0" # x-release-please-version
24 changes: 24 additions & 0 deletions fixbikenet/config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
protected_bike_infra = {
'busway': 0,
'corridor': 0,
'cycleway': 0,
'elevator': 1,
'footway': 1,
'living_street': 1,
'motorway': 0,
'motorway_link': 0,
'path': 1,
'pedestrian': 0,
'primary': 0,
'primary_link': 0,
'residential': 0,
'secondary': 0,
'secondary_link': 0,
'service': 0,
'steps': 0,
'tertiary': 0,
'tertiary_link': 0,
'track': 1,
'trunk': 0,
'unclassified': 0
}
23 changes: 0 additions & 23 deletions fixbikenet/config/config_osm.yml

This file was deleted.

8 changes: 2 additions & 6 deletions fixbikenet/functions.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import yaml
import networkx as nx
import random
import numpy as np
import geopandas as gpd
from . import config

def map_edges_to_bike_infrastructure(g):
"""
Expand All @@ -18,15 +18,11 @@ def map_edges_to_bike_infrastructure(g):
g : networkx.MultiDiGraph
simplified graph representing the street network, with added binary edge attribute "pbi"
"""
# first step: map all highway attributes
protected_bike_infra = yaml.load(
open("fixbikenet/config/config_osm.yml"),
Loader=yaml.FullLoader)["protected_bike_infra"]

# add binary edge attribute "pbi" (protected bike infra: True/False)
for edge in g.edges(keys=True):
try:
g.edges[edge]["pbi"] = protected_bike_infra[
g.edges[edge]["pbi"] = config.protected_bike_infra[
g.edges[edge]["highway"]
]
except:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "fixbikenet"
version = "0.5.0"
version = "0.6.0"
authors = [
{ name = "Manuel Knepper" },
{ name = "Anastassia Vybornova" },
Expand Down
Loading