Skip to content

Commit e97499c

Browse files
Format pooch functions
1 parent c6e403b commit e97499c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

gemgis/download_gemgis_data.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424

2525

2626
def create_pooch(storage_url: str, files: List[str], target: str):
27-
"""
28-
Create pooch class to fetch files from a website.
27+
"""Create pooch class to fetch files from a website.
2928
3029
Parameters
3130
__________
@@ -44,6 +43,7 @@ def create_pooch(storage_url: str, files: List[str], target: str):
4443
See also
4544
________
4645
download_tutorial_data: Download the GemGIS data for each tutorial.
46+
4747
"""
4848
try:
4949
import pooch
@@ -65,22 +65,24 @@ def download_tutorial_data(
6565
dirpath: str = "",
6666
storage_url: str = "https://rwth-aachen.sciebo.de/s/AfXRsZywYDbUF34/download?path=%2F",
6767
):
68-
"""
69-
Download the GemGIS data for each tutorial.
68+
"""Download the GemGIS data for each tutorial.
7069
7170
Parameters
7271
__________
7372
filename : str
7473
File name to be downloaded by pooch, e.g. ``filename='file.zip'``.
74+
7575
dirpath : str, default: ``''``
7676
Path to the directory where the data is being stored, default to the directory where the notebook is
7777
located, e.g. ``dirpath='Documents/gemgis/'``.
78+
7879
storage_url : str, default 'https://rwth-aachen.sciebo.de/s/AfXRsZywYDbUF34/download?path=%2F'
7980
URL to the GemGIS data storage, default is the RWTH Aachen University Sciebo Cloud Storage.
8081
8182
See also
8283
________
8384
create_pooch : Create pooch class to fetch files from a website.
85+
8486
"""
8587
try:
8688
from pooch import HTTPDownloader

0 commit comments

Comments
 (0)