From f77fc4b673374eed719968819a876b1b2ff14838 Mon Sep 17 00:00:00 2001 From: Jason Thomas Date: Thu, 26 Sep 2024 09:32:02 -0600 Subject: [PATCH] Fix python sleep and screen formatValue --- RELEASE.txt | 5 ----- .../openc3-tool-common/src/components/widgets/VWidget.js | 1 + openc3-cosmos-script-runner-api/scripts/running_script.py | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 RELEASE.txt diff --git a/RELEASE.txt b/RELEASE.txt deleted file mode 100644 index 5f6a922e75..0000000000 --- a/RELEASE.txt +++ /dev/null @@ -1,5 +0,0 @@ -OpenC3 COSMOS Release Process - -1. Run Release Github Action. Give next version number and desired next beta version number. ie. 5.0.6, and 5.0.7-beta0 -2. Write-up Release Notes on Github -3. Release Notes on Website diff --git a/openc3-cosmos-init/plugins/packages/openc3-tool-common/src/components/widgets/VWidget.js b/openc3-cosmos-init/plugins/packages/openc3-tool-common/src/components/widgets/VWidget.js index 61db2494f5..ef1c22312d 100644 --- a/openc3-cosmos-init/plugins/packages/openc3-tool-common/src/components/widgets/VWidget.js +++ b/openc3-cosmos-init/plugins/packages/openc3-tool-common/src/components/widgets/VWidget.js @@ -243,6 +243,7 @@ export default { }, formatValue(value) { if ( + value && this.valueId && (this.valueId.includes('PACKET_TIMEFORMATTED') || this.valueId.includes('RECEIVED_TIMEFORMATTED')) diff --git a/openc3-cosmos-script-runner-api/scripts/running_script.py b/openc3-cosmos-script-runner-api/scripts/running_script.py index 507c527326..3077e0e49b 100644 --- a/openc3-cosmos-script-runner-api/scripts/running_script.py +++ b/openc3-cosmos-script-runner-api/scripts/running_script.py @@ -39,7 +39,7 @@ def _openc3_script_sleep(sleep_time=None): ), ) - if not sleep_time: # Handle infinite wait + if sleep_time is None: # Handle infinite wait sleep_time = 30000000 if sleep_time > 0.0: end_time = time.time() + sleep_time