Now there is support to add -ff (force field) flag that picks which lipid template to select as well as storing lipids charge with each template.
The added -ff flag is default M3 and you can change e.g. -ff M2 so all the lipid templates are M2.DOPC M2.DPPC etc instead of the default M3.DOPC M3.DPPC
The -ff flag is only added if not . in lipids names, the idea there is you can also make subversion e.g. use -l DOPC -l M2o.DPPC -ff M2 would translate to M2.DOPC but keep M2o.DPPC
The lipids have been removed form _data.py CHARGES and the charge added into the lipid templates
Note quite a few lipid templates are now doubled between M2 and M3 part of that is to maintain two sets and as the lipid names are not always the same in M2 and M3, mostly as the new M3 lipids jump on x2 carbons instead of x4 (so many more names and some renaming happened).
The add_from_def code update to work with both Martini 2 and 3 lipids
Now there is support to add -ff (force field) flag that picks which lipid template to select as well as storing lipids charge with each template.