'database_name':
os.path.abspath('/htsworkflow/htswfrontend/dev_fctracker.db'),
'time_zone': 'America/Los_Angeles',
+ 'default_pm': '5',
+ 'link_flowcell_storage_device_url': "http://localhost:8000/inventory/lts/link/"
})
options.read([os.path.expanduser("~/.htsworkflow.ini"),
'/etc/htsworkflow.ini',])
+# OptionParser will use the dictionary passed into the config parser as
+# 'Default' values in any section. However it still needs an empty section
+# to exist in order to retrieve anything.
+if not options.has_section('frontend'):
+ options.add_section('frontend')
+
# Django settings for elandifier project.
DEBUG = True
'htsworkflow.frontend.experiments',
'htsworkflow.frontend.analysis',
'htsworkflow.frontend.reports',
+ 'htsworkflow.frontend.inventory',
'django.contrib.databrowse',
)
#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'
+
+LINK_FLOWCELL_STORAGE_DEVICE_URL = options.get('frontend', 'link_flowcell_storage_device_url')
+