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

Output Directory is Deleted #4

Open
DarioS opened this issue Jul 9, 2024 · 0 comments
Open

Output Directory is Deleted #4

DarioS opened this issue Jul 9, 2024 · 0 comments

Comments

@DarioS
Copy link

DarioS commented Jul 9, 2024

I specified . as output directory by --output . It fails

  File "/usr/lib/python3.11/shutil.py", line 736, in rmtree
    os.rmdir(path, dir_fd=dir_fd)
OSError: [Errno 22] Invalid argument: '.'

It also deletes the contents of the directory!

$ ls
copyNs.txt  shortVs.txt
$ python rungritic_cmd.py --mutation_table shortVs.txt --copy_number_table copyNs.txt --purity 0.25 \
  --sample_id test --output . --wgd_status T
# Error here
$ ls
$

Poor user documentation and software design.

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

1 participant