jondoesntgit / hardware

Python Wrappers for Hardware used in the Digonnet Lab at Stanford
MIT License
1 stars 0 forks source link

Logging #9

Closed AnjaliT123 closed 6 years ago

AnjaliT123 commented 6 years ago

Changes Modules can log changes when values are set, quantities can now be compared in setter methods to make sure the values passed in are within the boundaries of the hardware. Also includes "mock" classes used for testing

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 40


Changes Missing Coverage Covered Lines Changed/Added Lines %
hardware/init.py 1 7 14.29%
hardware/optical_power_meters.py 0 12 0.0%
hardware/oscilloscopes.py 0 19 0.0%
hardware/laser_diode_drivers.py 0 19 0.0%
hardware/data_acquisition_units.py 0 23 0.0%
hardware/gyros.py 0 25 0.0%
hardware/lock_in_amplifiers.py 0 33 0.0%
hardware/rotation_stages.py 0 36 0.0%
hardware/spectrum_analyzers.py 0 74 0.0%
hardware/function_generators.py 0 122 0.0%
<!-- Total: 1 370 0.27% -->
Files with Coverage Reduction New Missed Lines %
hardware/lock_in_amplifiers.py 1 0.0%
hardware/gyros.py 3 0.0%
hardware/data_acquisition_units.py 5 0.0%
hardware/function_generators.py 9 0.0%
hardware/init.py 26 6.17%
<!-- Total: 44 -->
Totals Coverage Status
Change from base Build 32: -3.6%
Covered Lines: 5
Relevant Lines: 1039

💛 - Coveralls
codecov-io commented 6 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@a8af550). Click here to learn what that means. The diff coverage is 46.5%.

Impacted file tree graph

@@           Coverage Diff            @@
##             master      #9   +/-   ##
========================================
  Coverage          ?   51.1%           
========================================
  Files             ?      10           
  Lines             ?    1131           
  Branches          ?       0           
========================================
  Hits              ?     578           
  Misses            ?     553           
  Partials          ?       0
Impacted Files Coverage Δ
hardware/laser_diode_drivers.py 0% <0%> (ø)
hardware/optical_power_meters.py 0% <0%> (ø)
hardware/oscilloscopes.py 0% <0%> (ø)
hardware/spectrum_analyzers.py 46.85% <40.44%> (ø)
hardware/function_generators.py 41.66% <45.66%> (ø)
hardware/data_acquisition_units.py 72.51% <48%> (ø)
hardware/lock_in_amplifiers.py 56.43% <60%> (ø)
hardware/rotation_stages.py 73.49% <62%> (ø)
hardware/gyros.py 56.91% <70.21%> (ø)
hardware/__init__.py 78.57% <75%> (ø)

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 a8af550...af6dabc. Read the comment docs.