Skip to content

Commit 855a488

Browse files
authored
Update hsp.py
1 parent c2b1aad commit 855a488

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/hsp.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
'used. Use the --observed_trait_table option '
4343
'to input a non-default trait table.')
4444

45-
parser.add_argument('-db', '--database', type=str, default = 'MPGA',
45+
parser.add_argument('-db', '--database', type=str, default = 'RV',
4646
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.')
4747

4848
parser.add_argument('-r', '--reference', type=str,
@@ -121,19 +121,19 @@ def main():
121121
"Only one of the arguments --in_trait and --observed_trait_table "
122122
"can be specified, but currently both are set.")
123123
elif args.in_trait:
124-
if args.database != 'MPGA':
124+
if args.database != 'RV':
125125
if args.database == 'oldIMG':
126126
if args.in_trait not in TRAIT_OPTIONS_OLD:
127127
RuntimeError(
128128
"You've chosen a train option that's not available for the oldIMG database. Available options are: "+','.join(TRAIT_OPTIONS_OLD))
129129
trait_table = default_tables[args.in_trait]
130130
else:
131131
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.")
133133
else:
134134
if args.in_trait not in TRAIT_OPTIONS_NEW:
135135
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))
137137
if args.reference in ['bac', 'bacteria']:
138138
trait_table = default_tables_bac[args.in_trait]
139139
elif args.reference in ['arc', 'archaea']:

0 commit comments

Comments
 (0)