X-Git-Url: http://woldlab.caltech.edu/gitweb/?a=blobdiff_plain;f=htsworkflow%2Ffrontend%2Fsettings.py;fp=htsworkflow%2Ffrontend%2Fsettings.py;h=95db12b702923ceb11426419b3cf1a64ebfa3440;hb=47fba796a6ed8737b958c31b0487cc02f54ec4df;hp=15b84f0dc05c106038f2cb21d465951864b6fbbc;hpb=a10202469e993d2d790011e459807ee70c827245;p=htsworkflow.git 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