コード例 #1
0
ファイル: index.py プロジェクト: cyrus0824/myvariant.info_new
# -*- coding: utf-8 -*-
# Simple template example used to instantiate a new biothing API
import sys
import os.path

src_path = os.path.split(os.path.split(os.path.abspath(__file__))[0])[0]
if src_path not in sys.path:
    sys.path.append(src_path)

from biothings.www.index_base import main
from www.api.handlers import return_applist

if __name__ == '__main__':
    main(return_applist())
コード例 #2
0
ファイル: tornado_tests.py プロジェクト: SuLab/myvariant.info
 def get_app(self):
     return Application(return_applist())
コード例 #3
0
ファイル: index.py プロジェクト: a3leong/myvariant.info
# -*- coding: utf-8 -*-
# Simple template example used to instantiate a new biothing API
import sys
import os.path

src_path = os.path.split(os.path.split(os.path.abspath(__file__))[0])[0]
if src_path not in sys.path:
    sys.path.append(src_path)

from biothings.www.index_base import main, get_app
from www.api.handlers import return_applist

if __name__ == '__main__':
    main(return_applist())