|
42 | 42 | 'used. Use the --observed_trait_table option '
|
43 | 43 | 'to input a non-default trait table.')
|
44 | 44 |
|
45 |
| -parser.add_argument('-db', '--database', type=str, default = 'MPGA', |
| 45 | +parser.add_argument('-db', '--database', type=str, default = 'RV', |
46 | 46 | help='Database that is being used for the pathway calculations. Set this to oldIMG if you want to run this script with the old IMG database.')
|
47 | 47 |
|
48 | 48 | parser.add_argument('-r', '--reference', type=str,
|
@@ -121,19 +121,19 @@ def main():
|
121 | 121 | "Only one of the arguments --in_trait and --observed_trait_table "
|
122 | 122 | "can be specified, but currently both are set.")
|
123 | 123 | elif args.in_trait:
|
124 |
| - if args.database != 'MPGA': |
| 124 | + if args.database != 'RV': |
125 | 125 | if args.database == 'oldIMG':
|
126 | 126 | if args.in_trait not in TRAIT_OPTIONS_OLD:
|
127 | 127 | RuntimeError(
|
128 | 128 | "You've chosen a train option that's not available for the oldIMG database. Available options are: "+','.join(TRAIT_OPTIONS_OLD))
|
129 | 129 | trait_table = default_tables[args.in_trait]
|
130 | 130 | else:
|
131 | 131 | raise RuntimeError(
|
132 |
| - "Unknown option set for -db/--database. Valid options are oldIMG or MPGA. See the help documentation on the wiki for further information.") |
| 132 | + "Unknown option set for -db/--database. Valid options are oldIMG or RV. See the help documentation on the wiki for further information.") |
133 | 133 | else:
|
134 | 134 | if args.in_trait not in TRAIT_OPTIONS_NEW:
|
135 | 135 | RuntimeError(
|
136 |
| - "You've chosen a train option that's not available for the new MPGA database. Available options are: "+','.join(TRAIT_OPTIONS_NEW)) |
| 136 | + "You've chosen a train option that's not available for the new RV database. Available options are: "+','.join(TRAIT_OPTIONS_NEW)) |
137 | 137 | if args.reference in ['bac', 'bacteria']:
|
138 | 138 | trait_table = default_tables_bac[args.in_trait]
|
139 | 139 | elif args.reference in ['arc', 'archaea']:
|
|
0 commit comments