Skip to content

rdf_data not initialized properly when running solute.run() #101

@Caboomi

Description

@Caboomi

I am using ase to convert an xdatcar file to a xyz and pdb file and reading it into the mda.Universe as you can see in the pdf attached
vertopal.com_5x_analysis.pdf. I am receiving an error when running solute.plot_solvation_radius('Li', solvent) as KeyError: 'Li' despite having this:

solute = Solute.from_atoms(
dme_Li,
{'dme_TFSI': dme_TFSI, 'dme_DOL': dme_DOL, 'dme_DME': dme_DME},
solute_name="Li",
radii={"dme_TFSI": 2.6, "dme_DOL": 2.6, "dme_DME": 2.6}
)
as my solute.

I think it could stem from run() not initializing rdf_data properly as it creates solute_0 ... solute_4 in my rdf_data rather than having 'Li'in the directory. My Li solute is made up of 5 Li atoms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions