Skip to content

Commit

Permalink
Avoid using hidden folders (issue #8).
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBelcour committed Feb 26, 2019
1 parent 6638679 commit 97a281f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpwt/multipwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def check_input_and_existing_pgdb(run_ids, input_folder, output_folder, verbose=
Check if PGDBs are already in ptools-local folder.
"""
# Check if there are files/folders inside the input folder.
species_folders = [species_folder for species_folder in os.listdir(input_folder)]
species_folders = [species_folder for species_folder in os.listdir(input_folder) if '.' not in species_folder]
if len(species_folders) == 0:
print("No folder containing genbank/gff file. In " + input_folder + " you must have sub-folders containing Genbank/GFF file.")
return None
Expand Down

0 comments on commit 97a281f

Please sign in to comment.