Skip to content

Commit

Permalink
removes index files
Browse files Browse the repository at this point in the history
  • Loading branch information
raphenya committed Aug 27, 2018
1 parent 100e5b2 commit bebbfd7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/RGI.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ def clean_directory(self, directory, basename_output_file):
for f in files:
if os.path.basename(self.input_sequence) + ".temp" in f and os.path.isfile(f):
self.remove_file(f)
if os.path.basename(self.input_sequence) + ".fai" in f and os.path.isfile(f):
self.remove_file(f)

def remove_file(self, f):
"""Removes file."""
Expand Down

0 comments on commit bebbfd7

Please sign in to comment.