File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 2222import os
2323from python_codon_tables import download_codons_table
2424
25+
2526def download_all_tables ():
2627 with open ("organisms.csv" , "r" ) as f :
2728 for line in f .readlines ()[1 :]:
@@ -30,8 +31,9 @@ def download_all_tables():
3031 target = os .path .join ("tables" , "%s_%s.csv" % (organism , taxid ))
3132 download_codons_table (taxid = taxid , target_file = target )
3233
34+
3335if __name__ == "__main__" :
34- print (" " .join (sys .argv ))
36+ print (" " .join (sys .argv ))
3537 if sys .argv [1 ] == "all" :
3638 download_all_tables ()
3739 else :
Original file line number Diff line number Diff line change 1- from .python_codon_tables import (available_codon_tables_names ,
2- csv_string_to_codons_dict ,
3- get_codons_table ,
4- get_all_available_codons_tables ,
5- download_codons_table )
1+ from .python_codon_tables import (
2+ available_codon_tables_names ,
3+ csv_string_to_codons_dict ,
4+ get_codons_table ,
5+ get_all_available_codons_tables ,
6+ download_codons_table ,
7+ )
You can’t perform that action at this time.
0 commit comments