https://github.com/Radiomics/pyradiomics
Revision 9d278bbcc5c5312225f9ddbe0c0b0966fabe444c authored by Joost van Griethuysen on 15 August 2017, 11:47:06 UTC, committed by Joost van Griethuysen on 16 August 2017, 06:23:18 UTC
When downloading example data, the feature visualization notebooks assumes a directory called `example_data` exists. However, if this is not the case, an error is thrown when trying to download the example_data zip file. Add a check to determine if the directory exists and if not, create a directory.

Fixes #276
1 parent f1550c6
Raw File
Tip revision: 9d278bbcc5c5312225f9ddbe0c0b0966fabe444c authored by Joost van Griethuysen on 15 August 2017, 11:47:06 UTC
BUG: Add directory check when downloading example data
Tip revision: 9d278bb
.gitignore
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
#  Usually these files are written by a python script from a template
#  before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache

# Temp editor files
*~
nosetests.xml
coverage.xml
*,cover

# Translations
*.mo
*.pot

# Django stuff:
*.log

# Sphinx documentation
docs/_build/

# IDE junk
.idea/*
*.swp

# PyBuilder
target/
back to top