예제 #1
0
def getPackages():
    global _emPackagesDict
    if _emPackagesDict is None:
        sys.path.insert(0, PACKAGES_PATH)
        _emPackagesDict = getModules(PACKAGES_PATH)
        sys.path.pop(0)
    return _emPackagesDict
예제 #2
0
파일: __init__.py 프로젝트: I2PC/scipion
def getPackages():
    global _emPackagesDict
    if _emPackagesDict is None:
        sys.path.insert(0, PACKAGES_PATH)
        _emPackagesDict = getModules(PACKAGES_PATH)
        sys.path.pop(0)
    return _emPackagesDict
예제 #3
0
def getPackages():
    global _emPackagesDict
    if _emPackagesDict is None:
        _emPackagesDict = getModules(PACKAGES_PATH)
    return _emPackagesDict
예제 #4
0
    url(r'^jsmol/$', 'app.views_showj.jsmol'),
    url(r'^get_chimera_html/$', 'app.views_showj.get_chimera_html'),

    #BROWSER & UPLOAD FILES
    url(r'^upload/', 'app.views_management.upload', name='upload'),
    url(r'^doUpload/', 'app.views_management.doUpload'),
    url(r'^upload_service/', 'app.views_management.upload_service'),
    url(r'^getPath/', 'app.views_management.getPath'),
    url(r'^getExtIcon/$', 'app.views_management.getExtIcon'),
    url(r'^get_file/$', 'app.views_util.get_file'),
    url(r'^get_image_dim/$', 'app.views_util.get_image_dim'),

    #TESTING
    #    url(r'^testingSSH/', 'app.views_showj.testingSSH'), #Load web
    url(r'^home/', 'app.views_home.home'),
    url(r'^download_form/', 'app.views_home.download_form'),
    url(r'^doDownload/', 'app.views_home.doDownload'),
]

# Load URLS for webtools
from pyworkflow.utils.reflection import getModules
toolModules = getModules(WS_ROOT)

for tm in toolModules.values():
    mainUrls += tm.urls

# handler404 = "app.views_util.error"
# handler500 = "app.views_util.error"

urlpatterns = patterns(*mainUrls)
예제 #5
0
파일: urls.py 프로젝트: josegutab/scipion
    url(r'^upload_service/', 'app.views_management.upload_service'),
    url(r'^getPath/', 'app.views_management.getPath'),
    url(r'^getExtIcon/$', 'app.views_management.getExtIcon'),
    url(r'^get_file/$', 'app.views_util.get_file'),
    url(r'^get_image_dim/$', 'app.views_util.get_image_dim'),
    
    #TESTING
#    url(r'^testingSSH/', 'app.views_showj.testingSSH'), #Load web

    
    url(r'^home/', 'app.views_home.home'),
    url(r'^download_form/', 'app.views_home.download_form'),
    url(r'^doDownload/', 'app.views_home.doDownload'),

]

# Load URLS for webtools
from pyworkflow.utils.reflection import getModules
toolModules = getModules(WS_ROOT)

for tm in toolModules.values():
    mainUrls += tm.urls
    
 

# handler404 = "app.views_util.error"
# handler500 = "app.views_util.error"

urlpatterns = patterns(*mainUrls)