From 47fba796a6ed8737b958c31b0487cc02f54ec4df Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Tue, 30 Nov 2010 16:15:43 -0800 Subject: [PATCH] Add a new ini-file option to point to the flowcell repository. It's in the [frontend] section called "results_dir". --- htsworkflow/frontend/settings.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htsworkflow/frontend/settings.py b/htsworkflow/frontend/settings.py index 15b84f0..95db12b 100644 --- a/htsworkflow/frontend/settings.py +++ b/htsworkflow/frontend/settings.py @@ -200,7 +200,10 @@ options_to_dict(ALLOWED_ANALYS_IPS, 'allowed_analysis_hosts') #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=os.path.expanduser('~/proj/solexa/results/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 -- 2.30.2