chemclipse icon indicating copy to clipboard operation
chemclipse copied to clipboard

Add detection for legacy peak filter IDs in process methods

Open Mailaender opened this issue 9 months ago • 0 comments

The IDs for process methods use a hardcoded ID based on class name with inconsistent prefixes/suffixes to avoid collisions, which seems like a bad idea in the first place. In https://github.com/eclipse-chemclipse/chemclipse/pull/1093/ I accidentally changed the IDs of most peak filters with a simple namespace change. This adds a method to auto-detect and migrate those previous IDs, in the same vein as https://github.com/eclipse-chemclipse/chemclipse/issues/1891 did for the settings content. It also allows us to clean them up with less volatile IDs in the future.

Mailaender avatar Mar 05 '25 08:03 Mailaender