Moved hardcoded URL to it's proper place in the settings.py.
[htsworkflow.git] / htsworkflow / frontend / settings.py
index 9986f7959ed7e99728817a4cf600aecb268c9dc1..d971bbcbe004fe97ce839fa7d0a85089cd7deee0 100644 (file)
@@ -54,7 +54,8 @@ options = ConfigParser.SafeConfigParser(
              'database_name': 
                os.path.abspath('/htsworkflow/htswfrontend/dev_fctracker.db'),
              'time_zone': 'America/Los_Angeles',
-             'default_pm': '5'
+             'default_pm': '5',
+             'link_flowcell_storage_device_url': "http://localhost:8000/inventory/lts/link/"
            })
 
 options.read([os.path.expanduser("~/.htsworkflow.ini"),
@@ -169,3 +170,6 @@ options_to_dict(ALLOWED_ANALYS_IPS, 'allowed_analysis_hosts')
 #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')
+