fprime-gds 3.4.4a2__py3-none-any.whl → 3.4.4a3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -65,14 +65,14 @@ class ChJsonLoader(JsonLoader):
65
65
  try:
66
66
  ch_id = channel_dict[self.ID]
67
67
  # The below assignment also raises a ValueError if the name does not contain a '.'
68
- component_name, channel_name = channel_dict[self.NAME].split(".")
69
- if not component_name or not channel_name:
68
+ qualified_component_name, channel_name = channel_dict[self.NAME].rsplit('.', 1)
69
+ if not qualified_component_name or not channel_name:
70
70
  raise ValueError()
71
71
 
72
72
  type_obj = self.parse_type(channel_dict[self.TYPE])
73
73
  except ValueError as e:
74
74
  raise GdsDictionaryParsingException(
75
- f"Channel dictionary entry malformed, expected name of the form '<COMP_NAME>.<CH_NAME>' in : {str(channel_dict)}"
75
+ f"Channel dictionary entry malformed, expected name of the form '<QUAL_COMP_NAME>.<CH_NAME>' in : {str(channel_dict)}"
76
76
  )
77
77
  except KeyError as e:
78
78
  raise GdsDictionaryParsingException(
@@ -94,7 +94,7 @@ class ChJsonLoader(JsonLoader):
94
94
  return ChTemplate(
95
95
  ch_id,
96
96
  channel_name,
97
- component_name,
97
+ qualified_component_name,
98
98
  type_obj,
99
99
  ch_fmt_str=format_str,
100
100
  ch_desc=channel_dict.get(self.DESC),
@@ -54,12 +54,12 @@ class CmdJsonLoader(JsonLoader):
54
54
 
55
55
  def construct_template_from_dict(self, cmd_dict: dict) -> CmdTemplate:
56
56
  try:
57
- cmd_comp, cmd_mnemonic = cmd_dict[self.NAME].split(".")
57
+ qualified_component_name, cmd_mnemonic = cmd_dict[self.NAME].rsplit('.', 1)
58
58
  cmd_opcode = cmd_dict[self.OPCODE]
59
59
  cmd_desc = cmd_dict.get(self.DESC)
60
60
  except ValueError as e:
61
61
  raise GdsDictionaryParsingException(
62
- f"Command dictionary entry malformed, expected name of the form '<COMP_NAME>.<CMD_NAME>' in : {str(cmd_dict)}"
62
+ f"Command dictionary entry malformed, expected name of the form '<QUAL_COMP_NAME>.<CMD_NAME>' in : {str(cmd_dict)}"
63
63
  )
64
64
  except KeyError as e:
65
65
  raise GdsDictionaryParsingException(
@@ -82,4 +82,4 @@ class CmdJsonLoader(JsonLoader):
82
82
  param_type,
83
83
  )
84
84
  )
85
- return CmdTemplate(cmd_opcode, cmd_mnemonic, cmd_comp, cmd_args, cmd_desc)
85
+ return CmdTemplate(cmd_opcode, cmd_mnemonic, qualified_component_name, cmd_args, cmd_desc)
@@ -61,12 +61,12 @@ class EventJsonLoader(JsonLoader):
61
61
 
62
62
  def construct_template_from_dict(self, event_dict: dict):
63
63
  try:
64
- event_comp, event_name = event_dict[self.NAME].split(".")
64
+ qualified_component_name, event_name = event_dict[self.NAME].rsplit('.', 1)
65
65
  event_id = event_dict[self.ID]
66
66
  event_severity = EventSeverity[event_dict[self.SEVERITY]]
67
67
  except ValueError as e:
68
68
  raise GdsDictionaryParsingException(
69
- f"Event dictionary entry malformed, expected name of the form '<COMP_NAME>.<EVENT_NAME>' in : {str(event_dict)}"
69
+ f"Event dictionary entry malformed, expected name of the form '<QUAL_COMP_NAME>.<EVENT_NAME>' in : {str(event_dict)}"
70
70
  )
71
71
  except KeyError as e:
72
72
  raise GdsDictionaryParsingException(
@@ -100,7 +100,7 @@ class EventJsonLoader(JsonLoader):
100
100
  return EventTemplate(
101
101
  event_id,
102
102
  event_name,
103
- event_comp,
103
+ qualified_component_name,
104
104
  event_args,
105
105
  event_severity,
106
106
  event_fmt_str,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fprime-gds
3
- Version: 3.4.4a2
3
+ Version: 3.4.4a3
4
4
  Summary: F Prime Flight Software Ground Data System layer
5
5
  Author-email: Michael Starch <Michael.D.Starch@jpl.nasa.gov>, Thomas Boyer-Chammard <Thomas.Boyer.Chammard@jpl.nasa.gov>
6
6
  License:
@@ -228,18 +228,18 @@ Requires-Python: >=3.8
228
228
  Description-Content-Type: text/markdown
229
229
  License-File: LICENSE.txt
230
230
  License-File: NOTICE.txt
231
- Requires-Dist: flask >=3.0.0
232
- Requires-Dist: flask-compress >=1.11
233
- Requires-Dist: pyzmq >=24.0.1
234
- Requires-Dist: pexpect >=4.8.0
235
- Requires-Dist: pytest >=6.2.4
236
- Requires-Dist: flask-restful >=0.3.8
237
- Requires-Dist: fprime-tools >=3.4.3
238
- Requires-Dist: argcomplete >=1.12.3
239
- Requires-Dist: Jinja2 >=2.11.3
240
- Requires-Dist: openpyxl >=3.0.10
241
- Requires-Dist: pyserial >=3.5
242
- Requires-Dist: pydantic >=2.6
231
+ Requires-Dist: flask>=3.0.0
232
+ Requires-Dist: flask-compress>=1.11
233
+ Requires-Dist: pyzmq>=24.0.1
234
+ Requires-Dist: pexpect>=4.8.0
235
+ Requires-Dist: pytest>=6.2.4
236
+ Requires-Dist: flask-restful>=0.3.8
237
+ Requires-Dist: fprime-tools>=3.4.3
238
+ Requires-Dist: argcomplete>=1.12.3
239
+ Requires-Dist: Jinja2>=2.11.3
240
+ Requires-Dist: openpyxl>=3.0.10
241
+ Requires-Dist: pyserial>=3.5
242
+ Requires-Dist: pydantic>=2.6
243
243
 
244
244
  # F´ GDS
245
245
 
@@ -57,14 +57,14 @@ fprime_gds/common/history/history.py,sha256=LbdMzlbZ2AGt5I76DqgQWU852Jg0946hVGc6
57
57
  fprime_gds/common/history/ram.py,sha256=ELNlyC6SmQJ-ZKD1NRi4H892tt1ppDNfz7R2c0UFCbQ,5797
58
58
  fprime_gds/common/history/test.py,sha256=JMOlXPYtS9OTT1xb0GKn2YLI-0ESElbhvhb8usFatz0,5048
59
59
  fprime_gds/common/loaders/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
60
- fprime_gds/common/loaders/ch_json_loader.py,sha256=fKGENkq2GQAd8GqoDRXgY1WX1o_2yBY4K4v31P6XBJU,4040
60
+ fprime_gds/common/loaders/ch_json_loader.py,sha256=YF0nkDTlEJVZVTBWnjID8HFj8W9yq-hV2CkiyayCuhE,4079
61
61
  fprime_gds/common/loaders/ch_py_loader.py,sha256=NKJV03k9jOUB9vELVSXyCorIiUwbGx-MlatwOPsUAP8,2688
62
62
  fprime_gds/common/loaders/ch_xml_loader.py,sha256=wRXAC3GkUShvKtb89O5tY92BtKWOFYoJ7loOF7aL5v8,4093
63
- fprime_gds/common/loaders/cmd_json_loader.py,sha256=ohieFnXhMwvTVkjdrFhWgym2X4miK5-IJPlCoCcICx8,3018
63
+ fprime_gds/common/loaders/cmd_json_loader.py,sha256=wcwAaalRHXntAb9m0EvX-fXNCj_ruITzItOvKKhXsGQ,3059
64
64
  fprime_gds/common/loaders/cmd_py_loader.py,sha256=6d_vMP0Vbpg2fnnV4qUtkC-WzlYkVm5kvTUABH-zp4E,2252
65
65
  fprime_gds/common/loaders/cmd_xml_loader.py,sha256=X-fCzLt1aCjqsDu-Exy2gSYDnh_TYi5rDnRpYT7tCZQ,2391
66
66
  fprime_gds/common/loaders/dict_loader.py,sha256=TasuICjsRYPWAsgmHGmsioxa8F7xmgAj9_UplzczylA,3990
67
- fprime_gds/common/loaders/event_json_loader.py,sha256=naRF3FUv1Di9VAeM6uOpGHGqarBXlnNMXLyqANUgWsA,3535
67
+ fprime_gds/common/loaders/event_json_loader.py,sha256=DPVJQ1wIY3r13rxTWrE9n7i6kSAF5m4jB-XRsxaRaDA,3572
68
68
  fprime_gds/common/loaders/event_py_loader.py,sha256=m4KlDl0mXn8ZQr-IfpUg0KaGIOJUErZkcIohlW9jNPc,2598
69
69
  fprime_gds/common/loaders/event_xml_loader.py,sha256=Q3Vm7ROTVgolSp5umkNMp0Eh95sir6ZAyAegrSjkiis,2875
70
70
  fprime_gds/common/loaders/json_loader.py,sha256=afD873WyIsbzWTz4SzydLfAKD2yFirj-l79xb4g_TBk,8051
@@ -227,10 +227,10 @@ fprime_gds/flask/static/third-party/webfonts/fa-solid-900.woff2,sha256=mDS4KtJuK
227
227
  fprime_gds/plugin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
228
228
  fprime_gds/plugin/definitions.py,sha256=5rHGSOrr62qRNVfX9bZIo4HDAKG62lKteNum9G40y3g,2347
229
229
  fprime_gds/plugin/system.py,sha256=uWd6DVW90Re0FoNMPNCx0cXXTJUdpgAAO0mtakzRNgk,8564
230
- fprime_gds-3.4.4a2.dist-info/LICENSE.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
231
- fprime_gds-3.4.4a2.dist-info/METADATA,sha256=JyLE5iGNE20hTiZnDIjebJTAz_rK4fA0hcaO57YHd2c,24784
232
- fprime_gds-3.4.4a2.dist-info/NOTICE.txt,sha256=vXjA_xRcQhd83Vfk5D_vXg5kOjnnXvLuMi5vFKDEVmg,1612
233
- fprime_gds-3.4.4a2.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
234
- fprime_gds-3.4.4a2.dist-info/entry_points.txt,sha256=oqUiO3xhJCR943jdU3zcxbqEvSXNeVgshk7dVaf_nGY,322
235
- fprime_gds-3.4.4a2.dist-info/top_level.txt,sha256=6vzFLIX6ANfavKaXFHDMSLFtS94a6FaAsIWhjgYuSNE,27
236
- fprime_gds-3.4.4a2.dist-info/RECORD,,
230
+ fprime_gds-3.4.4a3.dist-info/LICENSE.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
231
+ fprime_gds-3.4.4a3.dist-info/METADATA,sha256=d-rbGI3M6Pb8JKJKRdZf-9tHKXydQj-390xk3n3mn_Y,24772
232
+ fprime_gds-3.4.4a3.dist-info/NOTICE.txt,sha256=vXjA_xRcQhd83Vfk5D_vXg5kOjnnXvLuMi5vFKDEVmg,1612
233
+ fprime_gds-3.4.4a3.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
234
+ fprime_gds-3.4.4a3.dist-info/entry_points.txt,sha256=oqUiO3xhJCR943jdU3zcxbqEvSXNeVgshk7dVaf_nGY,322
235
+ fprime_gds-3.4.4a3.dist-info/top_level.txt,sha256=6vzFLIX6ANfavKaXFHDMSLFtS94a6FaAsIWhjgYuSNE,27
236
+ fprime_gds-3.4.4a3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (71.1.0)
2
+ Generator: setuptools (73.0.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5