Skip to content

Unable to generate Lammps file when I use --molecule-ff EPM2_CO2 #74

@draptis21

Description

@draptis21

Dear Pete,

First of all I would like to thank you for sharing your code with the scientific community.

I recently started testing the CO2.cif and I have this error

" File "/opt/venv/bin/lammps-interface", line 33, in
sys.exit(load_entry_point('lammps-interface==0.2.2', 'console_scripts', 'lammps-interface')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/lammps_interface/cli.py", line 17, in main
sim.assign_force_fields()
File "/opt/venv/lib/python3.11/site-packages/lammps_interface/lammps_main.py", line 486, in assign_force_fields
self.add_co2_model(ngraph, ff)
^^^^^^^^^^^^^^^^^^
AttributeError: 'LammpsSimulation' object has no attribute 'add_co2_model'" .

I can't find the error in main code.

Thanks in advance.

Kind Regards,
Dionysis

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions