Skip to content

Commit

Permalink
Update worker.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dkratzert committed Jul 5, 2023
1 parent 9557860 commit 5b5d0db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/structurefinder/searcher/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ def put_files_in_db(self, searchpath: str = '', excludes: Union[list, None] = No
time1 = time.perf_counter()
patterns = ['*.cif', '*.zip', '*.tar.gz', '*.tar.bz2', '*.tgz', '*.res']
filelist = filewalker_walk(str(searchpath), patterns, excludes=excludes)
if DEBUG:
print(f'Time for file list: {time.perf_counter()-time1:1} s.')
filecount = len(filelist)
self.number_of_files.emit(filecount)
options = {}
Expand Down

0 comments on commit 5b5d0db

Please sign in to comment.