galaxyproject / tools-devteam

Contains a set of Galaxy Tools mostly written by the Galaxy Team.
36 stars 92 forks source link

tabular_to_fasta: Strip title_col input, fix flake8 errors #611

Closed pvanheus closed 1 year ago

pvanheus commented 1 year ago

While this PR addresses the problem where end-of-lines creep into data_column inputs in the workflow editor, for older releases of Galaxy (pre-22.05) this still causes a problem for the tabular_to_fasta tool. This PR fixes that while also fixing flake8 errors and using argparse instead of sys.argv for input (so that if errors with file I/O occur they are more readable).