This still isn't ideal as the RESULTS_HOME_DIR is still out of my
authorDiane Trout <diane@caltech.edu>
Wed, 7 Jul 2010 00:19:36 +0000 (00:19 +0000)
committerDiane Trout <diane@caltech.edu>
Wed, 7 Jul 2010 00:19:36 +0000 (00:19 +0000)
home directory, but at least the use of expanduser means it'll work on
both linux and os x.

htsworkflow/frontend/settings.py

index 55b3cef65e6c389b4ed4852407b50886a4ba8010..9d9e066b25e79f773a437d4ce568f3ed19036189 100644 (file)
@@ -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