Пример #1
0
from htmd.builder.loopmodeler import loopModeller
from ffevaluation.ffevaluate import FFEvaluate
from htmdx.cli import check_registration, show_news
from htmd.latest import compareVersions
from htmd.config import config

# -------- Shortcuts ---------
import os
import numpy as np
import math
import shutil
from glob import glob
from sklearn.cluster import MiniBatchKMeans

if not (os.getenv("HTMD_NONINTERACTIVE")):
    check_registration(product="htmd")
    show_news()
    compareVersions()

# No longer import matplotlib here, as it breaks
# Parameterise's import and attmept to set alternate
# render back-end

# from matplotlib import pylab as plt
# ----------------------------
import warnings

# Get rid of pyemma version warnings
with warnings.catch_warnings():
    warnings.simplefilter("ignore", category=UserWarning)
    import pyemma
Пример #2
0
Файл: ui.py Проект: prokia/htmd
from htmd.builder.loopmodeler import loopModeller
from htmd.ffevaluation.ffevaluate import FFEvaluate
from htmdx.cli import check_registration, show_news
from htmd.latest import compareVersions
from htmd.config import config

# -------- Shortcuts ---------
import os
import numpy as np
import math
import shutil
from glob import glob
from sklearn.cluster import MiniBatchKMeans

if not (os.getenv("HTMD_NONINTERACTIVE")):
    check_registration(product='htmd')
    show_news()
    compareVersions()

# No longer import matplotlib here, as it breaks
# Parameterise's import and attmept to set alternate
# render back-end

# from matplotlib import pylab as plt
# ----------------------------
import warnings

# Get rid of pyemma version warnings
with warnings.catch_warnings():
    warnings.simplefilter('ignore', category=UserWarning)
    import pyemma
Пример #3
0
from htmd.config import config
import logging.config
import htmd

# -------- Shortcuts ---------
import os
import numpy as np
import math
import shutil
import tempfile
import random
from glob import glob
from sklearn.cluster import MiniBatchKMeans

# No longer impoty matplotlib here, as it breaks
# Parameterise's import and attmept to set alternate
# render back-end

#from matplotlib import pylab as plt
# ----------------------------
try:
	logging.config.fileConfig(os.path.join(home(), 'logging.ini'), disable_existing_loggers=False)
except:
	print("HTMD: Logging setup failed")

check_registration(product='htmd')
show_news()
compareVersions()

config()