JuliaAI / ScientificTypes.jl

An API for dispatching on the "scientific" type of data instead of the machine type
MIT License
96 stars 8 forks source link

rm persistence diagram scitype overloading #171

Closed ablaom closed 2 years ago

ablaom commented 2 years ago

This PR removes the overloading for scitype for persistence diagrams.

@mtsch Implementations of scitype() for more exotic types should now appear in packages defining the relevant types, to avoid onerous dependencies in ScientificTypes. (Exotic scitypes themselves can remain in ScientificTypesBase). I'm pretty sure the only package likely be broken by this removal is PersistenceDiagrams.jl, which I have tested locally as unaffected. In any case, I am happy to make a PR there to implement scitype for persistence diagrams (ie, add the code removed by the current PR, which I have only commented out).