On May 21, 2010, at 10:13 AM, Davide Cittaro wrote:
I'm now looking where and how the config file is passed to galaxy from command line...


It works after this:

$ hg diff lib/galaxy/eggs/__init__.py
diff -r 48432330228e lib/galaxy/eggs/__init__.py
--- a/lib/galaxy/eggs/__init__.py       Fri May 14 10:37:36 2010 -0400
+++ b/lib/galaxy/eggs/__init__.py       Fri May 21 10:30:59 2010 +0200
@@ -288,7 +288,7 @@
             raise EggNotFetchable( missing )
 
 class GalaxyConfig( object ):
-    config_file = os.path.join( galaxy_dir, "universe_wsgi.ini" )
+    config_file = os.path.join( galaxy_dir, sys.argv[2] )
     always_conditional = ( 'GeneTrack', 'pysam' )
     def __init__( self ):
         self.config = ConfigParser.ConfigParser()

Of course, this assumes that the config file is always the second argument (which is seems mandatory to me...)


d

/*
Davide Cittaro

Cogentech - Consortium for Genomic Technologies
via adamello, 16
20139 Milano
Italy

tel.: +39(02)574303007
e-mail: davide.cittaro@ifom-ieo-campus.it
*/