From 151259588301186e2d74ad6f152fff137493d550 Mon Sep 17 00:00:00 2001 From: Antonino Ingargiola Date: Tue, 1 Aug 2017 12:40:32 -0700 Subject: [PATCH] Move download_file() to the `utils` module --- docs/notebooks/pycorrelate-examples.ipynb | 2 +- pycorrelate/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/notebooks/pycorrelate-examples.ipynb b/docs/notebooks/pycorrelate-examples.ipynb index 629a432..3ec3a34 100644 --- a/docs/notebooks/pycorrelate-examples.ipynb +++ b/docs/notebooks/pycorrelate-examples.ipynb @@ -65,7 +65,7 @@ "outputs": [], "source": [ "url = 'http://files.figshare.com/2182601/0023uLRpitc_NTP_20dT_0.5GndCl.hdf5'\n", - "pyc.download_file(url, save_dir='data')" + "pyc.utils.download_file(url, save_dir='data')" ] }, { diff --git a/pycorrelate/__init__.py b/pycorrelate/__init__.py index 83b8ab8..ec278ee 100644 --- a/pycorrelate/__init__.py +++ b/pycorrelate/__init__.py @@ -1,5 +1,5 @@ from .pycorrelate import * -from .utils import download_file +from . import utils __author__ = """Antonino Ingargiola"""