Skip to content

Commit

Permalink
Python linting
Browse files Browse the repository at this point in the history
  • Loading branch information
DLBPointon committed Sep 13, 2023
1 parent 13eedad commit 3537003
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions bin/treeval-dataprep/GA_csv_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
This script generates the csv files
required by TreeVal (the gene alignment
sub-workflows).
Script generates a csv per organism.assembly
Script generates a csv per organism.assembly
in their respective classT folder
USAGE:
python3 GA_data_sorting.py
TODO: ADD argparse + version data
"""

Expand Down Expand Up @@ -53,7 +53,7 @@ def main():
gene_alignment_dir = sys.argv[1]
clade_list = list_dir(gene_alignment_dir)
master_list = []

for i in clade_list:
org_list = list_dir(i)
for ii in org_list:
Expand All @@ -68,4 +68,4 @@ def main():
print('GA_csv_gen: Complete')

if __name__ == '__main__':
main()
main()
4 changes: 2 additions & 2 deletions bin/treeval-dataprep/GA_data_prep.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/local/bin/python

PRINT_ERROR = '''Does not exist\n
PRINT_ERROR = """Does not exist\n
Get module installed before import attempt\n
If running server side then contact your admin'''
If running server side then contact your admin"""

try:
import sys
Expand Down

0 comments on commit 3537003

Please sign in to comment.