is_yanny¶
- pydl.pydlutils.yanny.is_yanny(origin, path, fileobj, *args, **kwargs)[source]¶
Identifies Yanny files or objects.
This function is for use with
register_identifier()
.- Parameters
- origin
str
‘read’ or ‘write’
- path
str
Path to the file.
- fileobjfile object
Open file object, if available.
- origin
- Returns
bool
True
if the file or object is a Yanny file.