neurosynth/functions.py
def download_data(destination=None):
    '''download_data
    download neurosynth repo data to a temporary or specified destination
    return path to features and database files
    Parameters
    ==========
    destination: path
        full path to download destination. If none, will use temporary directory
    Returns
    =======
    database,features: paths
        full paths to database and features files  
    '''
    print "Downloading neurosynth database..."

    if destination==None:
        destination = download_repo(repo_url="https://github.com/neurosynth/neurosynth-data")
    else:
        download_repo(repo_url="https://github.com/neurosynth/neurosynth-data",tmpdir=destination)
    untar("%s/current_data.tar.gz" %(destination),destination)
    
    features = "%s/features.txt" %(destination)
    database = "%s/database.txt" %(destination)
    
    return features,database
download_data
    download neurosynth repo data to a temporary or specified destination
    return path to features and database files
    Parameters
    ==========
    destination: path
        full path to download destination. If none, will use temporary directory
    Returns
    =======
    database,features: paths
        full paths to database and features files  
    
download_data
download neurosynth repo data to a temporary or specified destination
return path to features and database files
Parameters

path
full path to download destination. If none, will use temporary directory
Returns

database,features: paths
full paths to database and features files
download_data download neurosynth repo data to a temporary or specified destination return path to features and database files Parameters path full path to download destination . If none will use temporary directory Returns database features : paths full paths to database and features files
def download_data(destination=None):
    print "Downloading neurosynth database..."
    if destination==None:
        destination = download_repo(repo_url="https://github.com/neurosynth/neurosynth-data")
    else:
        download_repo(repo_url="https://github.com/neurosynth/neurosynth-data",tmpdir=destination)
    untar("%s/current_data.tar.gz" %(destination),destination)
    features = "%s/features.txt" %(destination)
    database = "%s/database.txt" %(destination)
    return features,database
def download_data ( destination = None ) : print "Downloading neurosynth database..." if destination == None : destination = download_repo ( repo_url = "https://github.com/neurosynth/neurosynth-data" ) else : download_repo ( repo_url = "https://github.com/neurosynth/neurosynth-data" , tmpdir = destination ) untar ( "%s/current_data.tar.gz" % ( destination ) , destination ) features = "%s/features.txt" % ( destination ) database = "%s/database.txt" % ( destination ) return features , database
download_data
download neurosynth repo data to a temporary or specified destination
return path to features and database files
Parameters
download_data download neurosynth repo data to a temporary or specified destination return path to features and database files Parameters
'''download_data
    download neurosynth repo data to a temporary or specified destination
    return path to features and database files
    Parameters
    ==========
    destination: path
        full path to download destination. If none, will use temporary directory
    Returns
    =======
    database,features: paths
        full paths to database and features files  
    '''
destination