seek4science / seek

For finding, sharing and exchanging Data, Models, Simulations and Processes in Science.
http://www.seek4science.org
BSD 3-Clause "New" or "Revised" License
77 stars 52 forks source link

Improve how the E.M type is detected to match fair data station properties #2069

Closed stuzart closed 1 day ago

stuzart commented 3 days ago

Problem was discovered during testing, where it was matching the wrong EMType based on just the number of properties matching.

Now updated to downgrade matches based on the number of properties left over. So if 2 properties match all the properties of one type this will be chosen in preference to another where 2 also match, but there are several properties that don't match.