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

Issues with --out_fname #1

Open
althea-hansel opened this issue Oct 26, 2022 · 1 comment
Open

Issues with --out_fname #1

althea-hansel opened this issue Oct 26, 2022 · 1 comment
Assignees
Labels
bug Something isn't working unclear expected usage

Comments

@althea-hansel
Copy link
Contributor

--out_fname decoys_.sdf:
Observed behavior:

(scrubber) althea@pixar:~/Documents/dev/cryokit/ALK$ scrub.py --in_fname decoys.smi --out_mode split --out_naming name --out_fname decoys_.sdf
[ initializing multiprocessing pipeline ]
[ storage initialized in FILE MODE ]
[ 32 geometry workers initialized ]
[ ▇|▅|▆|▆|▄|▃|▄|▁|▆|▅|▇|▃|▆|▆|▄|▄|▄|█|▇|▁|▃|▅|▇|▅|▅|▇|▄|▄|▄|▅|▆|▄ processing input mol. 4 ]  Process MoleculeStorage:
Traceback (most recent call last):
  File "/home/althea/programs/miniconda3/envs/scrubber/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/home/althea/programs/scrubber/scrubber/storage.py", line 374, in run
    outfname = self._get_outfname(mol)
  File "/home/althea/programs/scrubber/scrubber/storage.py", line 416, in _get_outfname
    os.makedirs(dirname)
  File "/home/althea/programs/miniconda3/envs/scrubber/lib/python3.10/os.py", line 225, in makedirs
    mkdir(name, mode)
FileNotFoundError: [Errno 2] No such file or directory: ''
[ ▄|▇|▄|▄|█|▃|▆|▅|▃|▃|▄|▇|▃|▃|▄|▄|▄|▅|▆|▄|▅|▁|▃|▅|▁|▆|▄|▆|▃|█|▆|▇ processing input mol. 116 ]  ( 23.587 mol/sec.)
  • program freezes
    Expected behavior:
  • program runs and places files in directory named "decoys"

--out_fname ./decoys_.sdf:
Observed behavior:

  • program completes, all expected file written
  • written in working directory

Expected behavior:

  • program runs and places files in directory named "decoys"
@althea-hansel
Copy link
Contributor Author

decoys.smi.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unclear expected usage
Projects
None yet
Development

No branches or pull requests

2 participants