'email_port': '25',
'database_engine': 'sqlite3',
'database_name':
- os.path.abspath('/htsworkflow/htswfrontend/dev_fctracker.db'),
+ os.path.abspath('../../fctracker.db'),
'time_zone': 'America/Los_Angeles',
'default_pm': '5',
'link_flowcell_storage_device_url': "http://localhost:8000/inventory/lts/link/",
NOTIFICATION_SENDER = options.get('frontend', 'notification_sender')
else:
NOTIFICATION_SENDER = "noreply@example.com"
+NOTIFICATION_BCC = []
+options_to_list(options, NOTIFICATION_BCC, 'frontend', 'notification_bcc')
# 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
DATABASE_ENGINE = options.get('frontend', 'database_engine')
# Make this unique, and don't share it with anybody.
SECRET_KEY = '(ekv^=gf(j9f(x25@a7r+8)hqlz%&_1!tw^75l%^041#vi=@4n'
+# some of our urls need an api key
+DEFAULT_API_KEY = 'n7HsXGHIi0vp9j5u4TIRJyqAlXYc4wrH'
+
# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.load_template_source',
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
+ '/usr/share/python-support/python-django/django/contrib/admin/templates',
+ #'/usr/lib/pymodules/python2.6/django/contrib/admin/templates/',
os.path.join(os.path.split(__file__)[0], 'templates'),
)
#UPLOADTO_CONFIG_FILE = os.path.join(UPLOADTO_HOME, 'eland_config')
#UPLOADTO_ELAND_RESULT_PACKS = os.path.join(UPLOADTO_HOME, 'eland_results')
#UPLOADTO_BED_PACKS = os.path.join(UPLOADTO_HOME, 'bed_packs')
-RESULT_HOME_DIR='/Users/diane/proj/solexa/results/flowcells'
+# Where "results_dir" means directory with all the flowcells
+if options.has_option('frontend', 'results_dir'):
+ RESULT_HOME_DIR=os.path.expanduser(options.get('frontend', 'results_dir'))
+else:
+ RESULT_HOME_DIR='/tmp'
LINK_FLOWCELL_STORAGE_DEVICE_URL = options.get('frontend', 'link_flowcell_storage_device_url')
# PORT 9100 is default for Zebra tabletop/desktop printers