vocalpy / crowsetta

A tool to work with any format for annotating vocalizations
https://crowsetta.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
49 stars 3 forks source link

ENH/CLN: change parameter name for methods to be the same where possible #178

Closed NickleDave closed 2 years ago

NickleDave commented 2 years ago

e.g. change first parameter name to annot_path for all from_file methods, on all annotation formats, for consistency of API (don't need to remember if it's mat_path or textgrid_path or whatever).

The other place I think this is possible is the to_file methods.
Just use annot_path again? Or dst_path to emphasize that it's different than the annot_path (which is often an attribute of the class)