Index: dialin/dg/__init__.py =================================================================== diff -u -rca7f6eff65d988c19ccce8cde5efd1ef537e2095 -r2c4ed521ba67ea1d459de760ff5a20505602ce96 --- dialin/dg/__init__.py (.../__init__.py) (revision ca7f6eff65d988c19ccce8cde5efd1ef537e2095) +++ dialin/dg/__init__.py (.../__init__.py) (revision 2c4ed521ba67ea1d459de760ff5a20505602ce96) @@ -1 +1,16 @@ +########################################################################### +# +# Copyright (c) 2020 Diality Inc. - All Rights Reserved. +# +# THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN +# WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. +# +# @file __init__.py +# +# @date 20-July-2020 +# @author Peter Lucia +# +# @brief Init script for the DG module +# +############################################################################ from ..utils.base import _AbstractSubSystem, _publish Index: dialin/dg/dialysate_generator.py =================================================================== diff -u -rca7f6eff65d988c19ccce8cde5efd1ef537e2095 -r2c4ed521ba67ea1d459de760ff5a20505602ce96 --- dialin/dg/dialysate_generator.py (.../dialysate_generator.py) (revision ca7f6eff65d988c19ccce8cde5efd1ef537e2095) +++ dialin/dg/dialysate_generator.py (.../dialysate_generator.py) (revision 2c4ed521ba67ea1d459de760ff5a20505602ce96) @@ -74,14 +74,14 @@ DG_OP_MODE_CHEMICAL_DISINFECT = 10 # DG sub_modes - DG_POST_STATE_START = 0 # Start initialize & POST mode state. - DG_POST_STATE_FPGA = 1 # FPGA POST test state. - DG_POST_STATE_WATCHDOG = 2 # Watchdog POST test state. + DG_POST_STATE_START = 0 # Start initialize & POST mode state + DG_POST_STATE_FPGA = 1 # FPGA POST test state + DG_POST_STATE_WATCHDOG = 2 # Watchdog POST test state DG_POST_STATE_TEMPERATURE_SENSORS = 3 # Temperature Sensors POST state DG_POST_STATE_HEATERS = 4 # Heaters POST state - DG_POST_STATE_COMPLETED = 5 # POST completed successfully state. - DG_POST_STATE_FAILED = 6 # POST failed state. - NUM_OF_DG_POST_STATES = 7 # Number of initialize & POST mode states. + DG_POST_STATE_COMPLETED = 5 # POST completed successfully state + DG_POST_STATE_FAILED = 6 # POST failed state + NUM_OF_DG_POST_STATES = 7 # Number of initialize & POST mode states def __init__(self, can_interface="can0"): """ Index: dialin/dg/valves.py =================================================================== diff -u -rd66e924d16e5b5f62570f57a483acd3f10c50dcc -r2c4ed521ba67ea1d459de760ff5a20505602ce96 --- dialin/dg/valves.py (.../valves.py) (revision d66e924d16e5b5f62570f57a483acd3f10c50dcc) +++ dialin/dg/valves.py (.../valves.py) (revision 2c4ed521ba67ea1d459de760ff5a20505602ce96) @@ -172,7 +172,6 @@ result = sorted(result, key=lambda each: each[1]) return result - def _binary_to_valve_state(self, binary): """ @param binary: binary value Index: dialin/hd/hemodialysis_device.py =================================================================== diff -u -rca7f6eff65d988c19ccce8cde5efd1ef537e2095 -r2c4ed521ba67ea1d459de760ff5a20505602ce96 --- dialin/hd/hemodialysis_device.py (.../hemodialysis_device.py) (revision ca7f6eff65d988c19ccce8cde5efd1ef537e2095) +++ dialin/hd/hemodialysis_device.py (.../hemodialysis_device.py) (revision 2c4ed521ba67ea1d459de760ff5a20505602ce96) @@ -175,5 +175,3 @@ else: print("Timeout!!!!") return False - - Index: dialin/squish/__init__.py =================================================================== diff -u -re6e9d40940a3ce8b012b13be4fe65fea5b0a5168 -r2c4ed521ba67ea1d459de760ff5a20505602ce96 --- dialin/squish/__init__.py (.../__init__.py) (revision e6e9d40940a3ce8b012b13be4fe65fea5b0a5168) +++ dialin/squish/__init__.py (.../__init__.py) (revision 2c4ed521ba67ea1d459de760ff5a20505602ce96) @@ -1 +1,15 @@ +########################################################################### +# +# Copyright (c) 2020 Diality Inc. - All Rights Reserved. +# +# THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN +# WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. +# +# @file hemodialysis_device.py +# +# @date 20-July-2020 +# @author Peter Lucia +# +# @brief Initialization for the squish module +# +############################################################################ Index: dialin/utils/base.py =================================================================== diff -u -rca7f6eff65d988c19ccce8cde5efd1ef537e2095 -r2c4ed521ba67ea1d459de760ff5a20505602ce96 --- dialin/utils/base.py (.../base.py) (revision ca7f6eff65d988c19ccce8cde5efd1ef537e2095) +++ dialin/utils/base.py (.../base.py) (revision 2c4ed521ba67ea1d459de760ff5a20505602ce96) @@ -77,5 +77,3 @@ return _wrapper return _decorator - - Index: tests/test_imports.py =================================================================== diff -u -re6e9d40940a3ce8b012b13be4fe65fea5b0a5168 -r2c4ed521ba67ea1d459de760ff5a20505602ce96 --- tests/test_imports.py (.../test_imports.py) (revision e6e9d40940a3ce8b012b13be4fe65fea5b0a5168) +++ tests/test_imports.py (.../test_imports.py) (revision 2c4ed521ba67ea1d459de760ff5a20505602ce96) @@ -75,8 +75,5 @@ utils) - - - if __name__ == '__main__': unittest.main(verbosity=2) Index: tools/install_to_venv.sh =================================================================== diff -u -re6e9d40940a3ce8b012b13be4fe65fea5b0a5168 -r2c4ed521ba67ea1d459de760ff5a20505602ce96 --- tools/install_to_venv.sh (.../install_to_venv.sh) (revision e6e9d40940a3ce8b012b13be4fe65fea5b0a5168) +++ tools/install_to_venv.sh (.../install_to_venv.sh) (revision 2c4ed521ba67ea1d459de760ff5a20505602ce96) @@ -1,4 +1,20 @@ #!/bin/bash +########################################################################### +# +# Copyright (c) 2020 Diality Inc. - All Rights Reserved. +# +# THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN +# WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. +# +# @file install_to_venv.sh +# +# @date 20-July-2020 +# @author Peter Lucia +# +# @brief This script builds dialin then installs it to the provided virtual +# environment +# +############################################################################ cd ../ ./build.sh