from dascore.utils.paths import is_example_uri
is_example_uri("examples://terra15_das_1_trimmed.hdf5")
is_example_uri("examples_notes.h5")False
| function of dascore.utils.paths | source |
is_example_uri(
path: <class ‘object ,
)-> ’bool’
Return True if a path names a file in the example data registry.
Matches the exact examples:// scheme, so a real file named e.g. examples_notes.h5 is not misclassified.