henrypinkard / Pygellan

[DEPREACATED] Python interface for data-driven microscopy with Micro-manager/Micro-Magellan
BSD 3-Clause "New" or "Revised" License
14 stars 3 forks source link

Operator overloading based on argument types #26

Closed henrypinkard closed 4 years ago

henrypinkard commented 4 years ago

For example, would like to be able to call both core.set_exposure(10) and `core.set_exposure('CameraName', 10), which right now isn't possible

henrypinkard commented 4 years ago

Turns out I already implemented this and forgot. Was caused by another bug fixed in https://github.com/henrypinkard/Pygellan/commit/1d726702620ee6efb2f950aa9790e3bb28f0c972