From: Diane Trout Date: Wed, 7 Jul 2010 00:19:36 +0000 (+0000) Subject: This still isn't ideal as the RESULTS_HOME_DIR is still out of my X-Git-Tag: 0.4.4~12 X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=1a6181cbba9d8369ecfc6ec32df4567a0c62ca13 This still isn't ideal as the RESULTS_HOME_DIR is still out of my home directory, but at least the use of expanduser means it'll work on both linux and os x. --- diff --git a/htsworkflow/frontend/settings.py b/htsworkflow/frontend/settings.py index 55b3cef..9d9e066 100644 --- a/htsworkflow/frontend/settings.py +++ b/htsworkflow/frontend/settings.py @@ -198,7 +198,7 @@ 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='/Users/diane/proj/solexa/results/flowcells' +RESULT_HOME_DIR=os.path.expanduser('~/proj/solexa/results/flowcells') LINK_FLOWCELL_STORAGE_DEVICE_URL = options.get('frontend', 'link_flowcell_storage_device_url') # PORT 9100 is default for Zebra tabletop/desktop printers