LEAHI-TESTSUITES-LDT-3153

RESOLVED

RESOLVED

RESOLVED

RESOLVED

Now added function that return configuration folder path def configuration_folder_path(): """ Check for Path.home() is /home/denali then return configuration folder location else return Device conf...

Now added function that return configuration folder path
def configuration_folder_path():
"""
Check for Path.home() is /home/denali then return configuration folder location
else return Device configuration folder location
"""
home_dir = str(Path.home())
if home_dir == "/home/denali":
return "/home/denali/Public/luis/config/configurations/"
else:
return "/opt/leahi/config/configurations/"

Now added function that return configuration folder path def configuration_folder_path(): """ Check for Path.home() is /home/denali then return configuration folder location else return Device conf...

Now added function that return configuration folder path
def configuration_folder_path():
"""
Check for Path.home() is /home/denali then return configuration folder location
else return Device configuration folder location
"""
home_dir = str(Path.home())
if home_dir == "/home/denali":
return "/home/denali/Public/luis/config/configurations/"
else:
return "/opt/leahi/config/configurations/"

same as: https://devapps.diality.us/cru/LEAHI-TESTSUITES-LDT-3153-1#c29805

same as:
https://devapps.diality.us/cru/LEAHI-TESTSUITES-LDT-3153-1#c29805

remove the Path.home() and use the /home/denali/ On the device, it is not even in the home folder, so the path will be entirely different. on the VM: conf_path = "/home/denali/Public/luis/config/c...

remove the Path.home() and use the /home/denali/
On the device, it is not even in the home folder, so the path will be entirely different.

on the VM:

conf_path = "/home/denali/Public/luis/config/configurations/" + Alarms/Rejections.conf

on the device, there MAY be something like this:

conf_path = "/opt/leahi/config/configurations/" + Alarms/Rejections.conf
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

    • -20
    • +14
    /sources/model/hd/alarm/MAlarmMapping.cpp
storing general configurations folder path in config.py

storing general configurations folder path in config.py

changed direct file path to dynamic user perspective and storing general configurations folder path in config.py

changed direct file path to dynamic user perspective and storing general configurations folder path in config.py

Bamboo Commit: Updated MAlarmMapping.cpp

    • -14
    • +20
    /sources/model/hd/alarm/MAlarmMapping.cpp
RESOLVED>

RESOLVED>

Generally, any path should be a variable in a global location.

Generally, any path should be a variable in a global location.

Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

    • -20
    • +14
    /sources/model/hd/alarm/MAlarmMapping.cpp
Merged release/p1b/staging and resolved the conflicts

    • -2
    • +2
    /sources/model/hd/alarm/MAlarmMapping.cpp
Bamboo Commit: Updated MAlarmMapping.cpp

    • -14
    • +20
    /sources/model/hd/alarm/MAlarmMapping.cpp
Take this in a global place. Testing on the device will be different.

Take this in a global place.
Testing on the device will be different.

Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

    • -1
    • +1
    /sources/canbus/MessageInterpreter.cpp
    • -20
    • +14
    /sources/model/hd/alarm/MAlarmMapping.cpp
Merged release/DENBUG-335-air-trap-fill-design-improvement-P1B-Staging

DENBUG-335: Air Trap Fill Design Improvements: Updated the institutional record to receive and display the end treatment blood flow rate in mL/min

    • -1
    • +1
    /sources/canbus/MessageInterpreter.cpp
    • -2
    • +2
    /sources/model/hd/alarm/MAlarmMapping.cpp
Bamboo Commit: Updated MAlarmMapping.cpp

    • -14
    • +20
    /sources/model/hd/alarm/MAlarmMapping.cpp
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

    • -20
    • +14
    /sources/model/hd/alarm/MAlarmMapping.cpp
Bamboo Commit: Updated MAlarmMapping.cpp

    • -15
    • +21
    /sources/model/hd/alarm/MAlarmMapping.cpp
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

    • -1
    • +1
    /sources/canbus/MessageInterpreter.cpp
    • -20
    • +14
    /sources/model/hd/alarm/MAlarmMapping.cpp
Merged DENBUG-335

Merge branch 'staging' into DENBUG-335-air-trap-fill-design-improvement

Bamboo Commit: Updated MAlarmMapping.cpp

    • -14
    • +20
    /sources/model/hd/alarm/MAlarmMapping.cpp
Bamboo Commit: Updated MAlarmMapping.cpp

    • -14
    • +20
    /sources/model/hd/alarm/MAlarmMapping.cpp
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

    • -20
    • +14
    /sources/model/hd/alarm/MAlarmMapping.cpp