Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Error When Opening HPA Dataset with migrator.py on Windows 10 #25

Open
jackn11 opened this issue Jul 19, 2022 · 1 comment
Open

Comments

@jackn11
Copy link

jackn11 commented Jul 19, 2022

Opening HPA dataset...

  Downloading protein atlas data
100% [..........................................................................] 5596382 / 5596382  Finished downloading
Traceback (most recent call last):
  File "C:\Users\jackn\TypeDBBio\typedb-bio\migrator.py", line 61, in <module>
    migrate_protein_atlas(session, NUM_PA, args.num_threads, args.commit_batch)
  File "C:\Users\jackn\TypeDBBio\typedb-bio\Migrators\HumanProteinAtlas\HumanProteinAtlasMigrator.py", line 20, in migrate_protein_atlas
    tissue, raw_data = get_tissue_data(num)
  File "C:\Users\jackn\TypeDBBio\typedb-bio\Migrators\HumanProteinAtlas\HumanProteinAtlasMigrator.py", line 53, in get_tissue_data
    os.remove('Dataset/HumanProteinAtlas/normal_tissue.tsv')
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'Dataset/HumanProteinAtlas/normal_tissue.tsv'
@estkae
Copy link

estkae commented Oct 1, 2023

This run only in Linux for Windows use wsl2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants