-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathSettings.py
33 lines (26 loc) · 1.38 KB
/
Settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env python
"""
Put settings here for various files necessary
author: Tim Tregubov, 12/2014
"""
import os
class Default(object):
"""
default settings for the server"
"""
BASEDIR = os.path.dirname(__file__)
# # # # edit this section # # # #
MASTER_PATH = os.path.join(BASEDIR, 'external/master/master') #
CREATEPDS_PATH = os.path.join(BASEDIR, 'external/master/createPDS') #
EXTRACTPDB_PATH = os.path.join(BASEDIR, 'external/master/extractPDB') #
PROCESSING_PATH = os.path.join(BASEDIR, 'processing') # directory to hold output files
CONFIG_PATH = os.path.join(BASEDIR, 'config') # config dir for targetlists
TARGET_LIST_PATH = os.path.join(CONFIG_PATH, 'targetList-fullBB') # this is the name of the targetList file
SCRIPTS_PATH = os.path.join(BASEDIR, 'scripts') # directory with utility scripts
LOG_PATH = os.path.join(BASEDIR, 'log')
# # # # done edits # # # #
ALLOWED_EXTENSIONS = frozenset(['pdb', 'pds'])
ALLOWED_ARGS = frozenset(['bbRMSD', 'dEps', 'ddZScore', 'ext', 'flag',
'matchIn', 'matchOut', 'phiEps', 'psiEps', 'query',
'database', 'rmsdCut', 'rmsdMode', 'seqOut', 'structOut',
'outType', 'target', 'targetList', 'topN', 'tune'])