Skip to content

Missing essential files under results/ when trying the example code. #32

@boyuanmby

Description

@boyuanmby

When running "create_cosolvent_system -c cosolvkit/data/config.json", encountering error about cannot find a pdb file under results/, like the pasted code. In the config.json, the md_format used as "openmm". Similar error shows when changing the md_format into "gromacs".

Running MD simulation
Starting MD simulation from the files: results/system.pdb, results/system.xml
Traceback (most recent call last):
  File "/gpfs/home/bma/miniconda3/envs/cosolvkit/bin/create_cosolvent_system", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/gpfs/home/bma/miniconda3/envs/cosolvkit/lib/python3.11/site-packages/cosolvkit/cli/create_cosolvent_system.py", line 163, in main
    run_simulation(
  File "/gpfs/home/bma/miniconda3/envs/cosolvkit/lib/python3.11/site-packages/cosolvkit/simulation.py", line 74, in run_simulation
    pdb = app.PDBFile(f'{results_path}/system.pdb')
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/gpfs/home/bma/miniconda3/envs/cosolvkit/lib/python3.11/site-packages/openmm/app/pdbfile.py", line 93, in __init__
    inputfile = open(file)
                ^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'results/system.pdb

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions