Skip to content

Commit 18ec13f

Browse files
committed
updated @bikeshedder
1 parent 45debad commit 18ec13f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

utils/xml_notes_to_json_detail.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/python3
22

33
"""
4-
Script adapted from @bikeshredder
4+
Script adapted from @bikeshedder
55
66
This script reads the XML files in the smdx directory, extracts notes for models, points, and symbols,
77
and updates the corresponding JSON files in the json directory with this information. The information is added
@@ -11,6 +11,8 @@
1111
As of SunSpec Device Information Model Specification v1.2, Detailed Description (detail) is Mandatory
1212
for the CSV encodings but Notes (notes) are Optional. Technically, Notes are "used for draft models"
1313
and "not included in approved models"
14+
15+
Detail also shows up in the XLSX representation of the models.
1416
"""
1517

1618
import json

0 commit comments

Comments
 (0)