Skip to content

Commit

Permalink
downloading now works
Browse files Browse the repository at this point in the history
  • Loading branch information
bhaddow committed Jan 26, 2024
1 parent 68581d5 commit f69293e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions opuscleaner/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,10 +408,11 @@ def main():
shutil.copy(source_path,target_dir)
else:
LOG.debug(f"Queueing corpus {corpus_id}")
#get_bilingual_dataset(entry, target_dir)
get_bilingual_dataset(entry, target_dir)
#downloader.download(entry) # Currently downloads to DOWNLOAD_PATH
# # This does not work, because works do not exit
# for thread in downloader.threads:
# # This does not work, because workers do not exit

#for thread in downloader.threads:
# thread.join()


Expand Down

0 comments on commit f69293e

Please sign in to comment.