<commit_before>import json

try:
    from urllib.request import urlopen
except ImportError:
    from urllib2 import urlopen
from mdtraj import version

if not version.release:
    print("This is not a release.")
    exit(0)

URL = 'http://www.msmbuilder.org'
versions = json.load(urlopen(URL + '/versions.json'))

# new release so all the others are now old
for i in range(len(versions)):
    versions[i]['latest'] = False

versions.append({
    'version': version.short_version,<commit_msg>Add 'display' key to versions.json<commit_after>import json

try:
    from urllib.request import urlopen
except ImportError:
    from urllib2 import urlopen
from mdtraj import version

if not version.release:
    print("This is not a release.")
    exit(0)

URL = 'http://www.msmbuilder.org'
versions = json.load(urlopen(URL + '/versions.json'))

# new release so all the others are now old
for i in range(len(versions)):
    versions[i]['latest'] = False

versions.append({
    'version': version.short_version,
    'display': version.short_version,
{'fraction_non_alphanumeric': 0.11335254562920269, 'fraction_numerical': 0.0038424591738712775, 'mean_word_length': 4.1840796019900495, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '812533', 'n_tokens_mistral': 324, 'n_tokens_neox': 328, 'n_words': 103}