Skip to content

Commit 8d2c099

Browse files
authored
Merge pull request #840 from kir0ul/issue_817_chan2_nwb
Improve NWB support
2 parents 40b534d + 7668607 commit 8d2c099

File tree

5 files changed

+452
-260
lines changed

5 files changed

+452
-260
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ The software has been heavily tested on Windows 10 and Ubuntu 18.04, and less we
9191
2. Run `conda env create --name suite2p`
9292
3. To activate this new environment, run `conda activate suite2p` (you will have to activate every time you want to run suite2p)
9393
4. Install the local version of suite2p into this environment in develop mode with the command `pip install -e .`
94-
5. Run tests: `python setup.py test` or `pytest tests\`, this will automatically download the test data into your `suite2p` folder. The test data is split into two parts: test inputs and expected test outputs which will be downloaded in `data/test_inputs` and `data/test_outputs` respectively. The .zip files for these two parts can be downloaded from these links: [test_inputs](https://www.suite2p.org/static/test_data/test_inputs.zip) and [test_outputs](https://www.suite2p.org/static/test_data/test_outputs.zip).
94+
5. Run tests: `python setup.py test` or `pytest -vs`, this will automatically download the test data into your `suite2p` folder. The test data is split into two parts: test inputs and expected test outputs which will be downloaded in `data/test_inputs` and `data/test_outputs` respectively. The .zip files for these two parts can be downloaded from these links: [test_inputs](https://www.suite2p.org/static/test_data/test_inputs.zip) and [test_outputs](https://www.suite2p.org/static/test_data/test_outputs.zip).
9595

9696
## Examples
9797

conftest.py

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def download_url_to_file(url, dst, progress=True):
8181
dst = os.path.expanduser(dst)
8282
dst_dir = os.path.dirname(dst)
8383
f = tempfile.NamedTemporaryFile(delete=False, dir=dst_dir)
84+
print(f"\nDownloading: {url}")
8485
try:
8586
with tqdm(total=file_size, disable=not progress,
8687
unit='B', unit_scale=True, unit_divisor=1024) as pbar:

0 commit comments

Comments
 (0)