# HG changeset patch # User matnguyen # Date 1552194429 18000 # Node ID 4bfb3a8dd9559108ce5ab8a9b292616d8c164109 # Parent a39471bf7d132944493fe9f56089b8f73dbc8216 Bug fixes diff -r a39471bf7d13 -r 4bfb3a8dd955 galaxy/tools/config_builder/config_builder --- a/galaxy/tools/config_builder/config_builder Fri Mar 08 18:42:31 2019 -0500 +++ b/galaxy/tools/config_builder/config_builder Sun Mar 10 00:07:09 2019 -0500 @@ -3,7 +3,11 @@ import sys import yaml import argparse as ap -import subprocess +import urllib.request as urllib + +# Version of PathOGiST +MAJOR_VERSION = 0 +MINOR_VERSION = 3 parser = ap.ArgumentParser(prog='config_builder', conflict_handler='resolve', description="Builds the config file for PathOGiST") @@ -73,7 +77,8 @@ args = parser.parse_args() -print(subprocess.check_output(['PATHOGIST', 'all', 'blank_config.yaml', '--new_config'])) +urllib.urlretrieve("https://github.com/WGS-TB/PathOGiST/releases/download/v{0}.{1}/blank_config.yaml" + .format(MAJOR_VERSION, MINOR_VERSION), 'blank_config.yaml') with open('blank_config.yaml') as f: list_doc = yaml.load(f) diff -r a39471bf7d13 -r 4bfb3a8dd955 galaxy/tools/config_builder/config_builder.xml --- a/galaxy/tools/config_builder/config_builder.xml Fri Mar 08 18:42:31 2019 -0500 +++ b/galaxy/tools/config_builder/config_builder.xml Sun Mar 10 00:07:09 2019 -0500 @@ -113,7 +113,8 @@ variant evidence"/> - + @@ -164,7 +165,8 @@ kmer is seen to be considered present in the sample"/> - + @@ -173,7 +175,8 @@ - + @@ -192,7 +195,8 @@ of unique kmers in the input set"/> - + @@ -201,7 +205,8 @@ - +