OSError: [Errno 39] Directory not empty: 'Cas'
Hi there,
The tool runs well on test data (df_test_prot.faa). However, when I used for my own data, I encountered an error:
Traceback (most recent call last):
File "/home/ampere/.conda/envs/defensefinder/bin/defense-finder", line 8, in <module>
sys.exit(cli())
File "/home/ampere/.conda/envs/defensefinder/lib/python3.7/site-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/home/ampere/.conda/envs/defensefinder/lib/python3.7/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/home/ampere/.conda/envs/defensefinder/lib/python3.7/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ampere/.conda/envs/defensefinder/lib/python3.7/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ampere/.conda/envs/defensefinder/lib/python3.7/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/home/ampere/.conda/envs/defensefinder/lib/python3.7/site-packages/defense_finder_cli/main.py", line 152, in run
shutil.rmtree(tmp_dir)
File "/home/ampere/.conda/envs/defensefinder/lib/python3.7/shutil.py", line 494, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/home/ampere/.conda/envs/defensefinder/lib/python3.7/shutil.py", line 436, in _rmtree_safe_fd
onerror(os.rmdir, fullname, sys.exc_info())
File "/home/ampere/.conda/envs/defensefinder/lib/python3.7/shutil.py", line 434, in _rmtree_safe_fd
os.rmdir(entry.name, dir_fd=topfd)
OSError: [Errno 39] Directory not empty: 'Cas'
Input is a faa file by prodigal. Can you help me solve this error? Thanks in advance!
OSError: [Errno 39] Directory not empty: 'Cas' Hi there,
The tool runs well on test data (
df_test_prot.faa
). However, when I used for my own data, I encountered an error:Input is a faa file by prodigal. Can you help me solve this error? Thanks in advance!