1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/8a8a587e2167/ changeset: 8a8a587e2167 user: natefoo date: 2011-09-08 18:09:10 summary: Make it easier to run helper.py from outside the galaxy-dist root directory. affected #: 1 file (102 bytes) --- a/scripts/helper.py Thu Sep 08 10:40:44 2011 -0400 +++ b/scripts/helper.py Thu Sep 08 12:09:10 2011 -0400 @@ -9,8 +9,10 @@ from ConfigParser import ConfigParser from optparse import OptionParser +default_config = os.path.abspath( os.path.join( os.path.dirname( __file__ ), '..', 'universe_wsgi.ini') ) + parser = OptionParser() -parser.add_option( '-c', '--config', dest='config', help='Path to Galaxy config file (universe_wsgi.ini)', default='universe_wsgi.ini' ) +parser.add_option( '-c', '--config', dest='config', help='Path to Galaxy config file (universe_wsgi.ini)', default=default_config ) parser.add_option( '-e', '--encode-id', dest='encode_id', help='Encode an ID' ) parser.add_option( '-d', '--decode-id', dest='decode_id', help='Decode an ID' ) parser.add_option( '--hda', dest='hda_id', help='Display HistoryDatasetAssociation info' ) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.