Skip to content

Commit

Permalink
Merge pull request #391 from oturns/sedafix
Browse files Browse the repository at this point in the history
reimplement isochrones
  • Loading branch information
knaaptime authored Jan 19, 2024
2 parents e79bb6b + c0eef92 commit d17c87d
Show file tree
Hide file tree
Showing 8 changed files with 1,482 additions and 1,056 deletions.
3 changes: 2 additions & 1 deletion .ci/310.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ dependencies:
- jupyter
- pytest
- pytest-cov
- pytest-xdist
- codecov
- coverage
- coveralls

- python-wget
- contextily
- scikit-plot
Expand Down
2 changes: 1 addition & 1 deletion .ci/311.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ dependencies:
- jupyter
- pytest
- pytest-cov
- pytest-xdist
- codecov
- coverage
- coveralls
- python-wget
- contextily
- scikit-plot
Expand Down
3 changes: 2 additions & 1 deletion .ci/312.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ dependencies:
- jupyter
- pytest
- pytest-cov
- pytest-xdist
- codecov
- coverage
- coveralls

- python-wget
- contextily
- scikit-plot
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,15 @@ jobs:

- name: Test geosnap
run: |
coverage run -m pytest -v --color yes --cov=geosnap --cov-append --cov-report term-missing --cov-report xml .
pytest geosnap \
-v \
-r a \
-n auto \
--color yes \
--cov geosnap \
--cov-append \
--cov-report term-missing \
--cov-report xml
- name: codecov
uses: codecov/codecov-action@v3
with:
Expand All @@ -62,4 +70,4 @@ jobs:
&& github.repository_owner == 'oturns'
uses: xarray-contrib/issue-from-pytest-log@v1
with:
log-path: pytest-log.jsonl
log-path: pytest-log.jsonl
6 changes: 3 additions & 3 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ Compute shortest path distance along a network using pandana, and visualize trav
.. autosummary::
:toctree: generated/

analyze.compute_travel_cost_adjlist
analyze.isochrone
analyze.isochrones
analyze.pdna_to_adj
analyze.isochrones_from_gdf
analyze.isochrones_from_ids

The ModelResults Class
'''''''''''''''''''''''''''''''''''''''''''''
Expand Down
Loading

0 comments on commit d17c87d

Please sign in to comment.