pinellolab / dictys

Context specific and dynamic gene regulatory network reconstruction and analysis
GNU Affero General Public License v3.0
108 stars 14 forks source link

PermissionError: [Errno 13] Permission denied: 'analysis-blood.tar.xz' #64

Closed zly19980908 closed 3 months ago

zly19980908 commented 3 months ago

Checks before submitting the issue

Describe the error

Optional steps (may accelerate troubleshooting)

Dear Author

`import os os.environ['KMP_AFFINITY'] = ''

Download network data from zenodo

!cd ../.. && dictys_helper repodown.sh zenodo analysis-blood.tar.xz`

When I run this line of code to download the file, I get the following error, is it because of a directory problem? Here is the error message:

Downloading analysis-blood.tar.xz Traceback (most recent call last): File "/home/lab501-6/.conda/envs/dictys/lib/python3.9/site-packages/dictys/scripts/helper/repo_zenodo.py", line 154, in args.func(args) File "/home/lab501-6/.conda/envs/dictys/lib/python3.9/site-packages/dictys/scripts/helper/repo_zenodo.py", line 118, in down return d.download(args.src,dst=args.dst) File "/home/lab501-6/.conda/envs/dictys/lib/python3.9/site-packages/dictys/scripts/helper/repo_zenodo.py", line 114, in download self.download_byurl(fs[src],dst) File "/home/lab501-6/.conda/envs/dictys/lib/python3.9/site-packages/dictys/scripts/helper/repo_zenodo.py", line 102, in download_byurl with open(dst, 'wb') as f: PermissionError: [Errno 13] Permission denied: 'analysis-blood.tar.xz'

I'm sure I've recreated a virtual environment and installed dictys as per the tutorial, should I download the entire dictys folder separately and create the file in that folder? Could you please look at this message, I may be a noob, please advise me.Good Luck!

lingfeiwang commented 3 months ago

Hi zly19980908,

You need to download the whole folder for the tutorial. If the problem persists, please let us know.

Lingfei

zly19980908 commented 3 months ago

Thanks a lot, I downloaded the whole Dictys package and my problem is solved, thanks again!