Skip to content

Commit

Permalink
Fix. Just... a fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iquasere committed Dec 20, 2023
1 parent e61dac4 commit 85ce0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keggcharter.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def read_input_file(args: argparse.Namespace) -> pd.DataFrame:
error_exit(f'Failure to read file! Input file can only be Excel (ending in .xlsx) or TSV.\n{e}')
# check if all columns supposed to be in the input data are in the input data
for col in [args.taxa_column, args.kegg_column, args.ko_column, args.ec_column, args.cog_column
] + args.quantification_columns:
] + args.quantification_columns if args.quantification_columns else []:
if col:
if col not in result.columns:
error_exit(f'"{col}" column not in input file! Exiting...')
Expand Down

0 comments on commit 85ce0b5

Please sign in to comment.