mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
it is pointless to load sample config
This commit is contained in:
@@ -33,9 +33,8 @@ def main(argv):
|
||||
with open(args.grt_config) as handle:
|
||||
config = yaml.safe_load(handle)
|
||||
except Exception:
|
||||
logging.warning('Using default GRT configuration')
|
||||
with open(sample_config) as handle:
|
||||
config = yaml.safe_load(handle)
|
||||
logging.error('Could not parse GRT configuration')
|
||||
sys.exit(1)
|
||||
|
||||
REPORT_DIR = args.report_directory
|
||||
GRT_URL = config['grt']['url'].rstrip('/') + '/'
|
||||
|
||||
Reference in New Issue
Block a user