panoptes / panoptes-utils

A set of Astronomical utility functions. PANOPTES style. :hammer_and_wrench: :telescope: :stars:
https://panoptes-utils.readthedocs.io
MIT License
4 stars 9 forks source link

Lookup serial port from vendor and product id #269

Closed wtgee closed 3 years ago

wtgee commented 3 years ago

Small utility function to look up a serial device path by vendor and product id. Can also return all comport devices that match if multiple devices with same vendor and product id are plugged in.

codecov[bot] commented 3 years ago

Codecov Report

Merging #269 (defbfb1) into develop (064a00a) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #269   +/-   ##
========================================
  Coverage    73.57%   73.57%           
========================================
  Files           31       31           
  Lines         2002     2002           
========================================
  Hits          1473     1473           
  Misses         529      529           
Impacted Files Coverage Δ
src/panoptes/utils/rs232.py 88.39% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 064a00a...defbfb1. Read the comment docs.