Open ijpulidos opened 4 months ago
As discussed by DM - this is, in my opinion, not the right solution to this problem. The preffered approach is user charges (as per https://docs.openfree.energy/en/stable/cookbook/user_charges.html) or assigning ffxml parameters directly through OpenMMSystemGenerationFFSettings.
The system generator allows for passing a
json
file with precomputed forcefield parameters for different molecules. We should make changes such as if the user specifies a cache file it gets copied to the corresponding shared/scratch directories and used from there. As of this moment, the protocol accepts the settings but does not copy any file to the shared/scratch directories.This would avoid having to always compute the partial charges with some implementation, especially if users want to force a specific partial charges calculation.