<commit_before>import ocpaccess.download

"""
Two sets of tokens are supplied below -- `common` and `full`.

common  The most common data download.)

full    LARGE FILE WARNING
        For the compressed data, visit [our website].
"""

# Common
common = ['kasthuri11',
          'kat11vesicles',
          'kat11segments',
          'kat11synapses',
          'kat11mito']

# Full
full = ['kasthuri11',
        'kasthuri11cc',
        'kasthuri14Maine',
        'kasthuri14s1colEM',
        'kasthuri14s1colANNO',
        'kat11mojocylinder',
        'kat11redcylinder',
        'kat11greencylinder',
        'ac3',
        'ac4',
        'kat11vesicles',
        'kat11segments',
        'kat11synapses',
        'kat11mito']

download_tokens = []

# Uncomment the next line for `common`
# download_tokens = common

# Uncomment the next line for `full`
# download_tokens = full

for t in download_tokens:
    print("Token: " + t)
    ocpaccess.download.get_data(
        token =         t,              zoom = 1,
        x_start =       0,              x_stop =      10752,
        y_start =       0,              y_stop =      13312,
        z_start =       1,              z_stop =      1850,
        location =      t
    )

print("Done.")

# You may want to run the code below (a much smaller sample) first,
# in order to be sure that your environment is set up correctly and
# the server is responding correctly.
"""
ocpaccess.download.get_data(
        token =        "kasthuri11", zoom = 1,<commit_msg>zoom => resolution<commit_after>import ocpaccess.download

"""
Two sets of tokens are supplied below -- `common` and `full`.

common  The most common data download.)

full    LARGE FILE WARNING
        For the compressed data, visit [our website].
"""

# Common
common = ['kasthuri11',
          'kat11vesicles',
          'kat11segments',
          'kat11synapses',
          'kat11mito']

# Full
full = ['kasthuri11',
        'kasthuri11cc',
        'kasthuri14Maine',
        'kasthuri14s1colEM',
        'kasthuri14s1colANNO',
        'kat11mojocylinder',
        'kat11redcylinder',
        'kat11greencylinder',
        'ac3',
        'ac4',
        'kat11vesicles',
        'kat11segments',
        'kat11synapses',
        'kat11mito']

download_tokens = []

# Uncomment the next line for `common`
# download_tokens = common

# Uncomment the next line for `full`
# download_tokens = full

for t in download_tokens:
    print("Token: " + t)
    ocpaccess.download.get_data(
        token =         t,              resolution = 1,
        x_start =       0,              x_stop =      10752,
        y_start =       0,              y_stop =      13312,
        z_start =       1,              z_stop =      1850,
        location =      t
    )

print("Done.")

# You may want to run the code below (a much smaller sample) first,
# in order to be sure that your environment is set up correctly and
# the server is responding correctly.
"""
ocpaccess.download.get_data(
        token =        "kasthuri11", resolution = 1,
{'fraction_non_alphanumeric': 0.10009878169245967, 'fraction_numerical': 0.038854132367467896, 'mean_word_length': 1.9872173058013767, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5873627', 'n_tokens_mistral': 1021, 'n_tokens_neox': 944, 'n_words': 262}