otlmow-template 0.9__py3-none-any.whl → 0.10__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.
- otlmow_template/SubsetTemplateCreator.py +6 -6
- {otlmow_template-0.9.dist-info → otlmow_template-0.10.dist-info}/METADATA +2 -2
- otlmow_template-0.10.dist-info/RECORD +10 -0
- otlmow_template-0.9.dist-info/RECORD +0 -10
- {otlmow_template-0.9.dist-info → otlmow_template-0.10.dist-info}/LICENSE +0 -0
- {otlmow_template-0.9.dist-info → otlmow_template-0.10.dist-info}/WHEEL +0 -0
- {otlmow_template-0.9.dist-info → otlmow_template-0.10.dist-info}/top_level.txt +0 -0
|
@@ -123,6 +123,8 @@ class SubsetTemplateCreator:
|
|
|
123
123
|
add_attribute_info = kwargs.get('add_attribute_info', False)
|
|
124
124
|
highlight_deprecated_attributes = kwargs.get('highlight_deprecated_attributes', False)
|
|
125
125
|
amount_of_examples = kwargs.get('amount_of_examples', 0)
|
|
126
|
+
if add_attribute_info and amount_of_examples == 0:
|
|
127
|
+
amount_of_examples = 1
|
|
126
128
|
wb = load_workbook(temporary_path)
|
|
127
129
|
wb.create_sheet('Keuzelijsten')
|
|
128
130
|
# Volgorde is belangrijk! Eerst rijen verwijderen indien nodig dan choice list toevoegen,
|
|
@@ -201,12 +203,10 @@ class SubsetTemplateCreator:
|
|
|
201
203
|
dotnotation_attribute = dotnotation_module.get_attribute_by_dotnotation(single_attribute,
|
|
202
204
|
cell.value)
|
|
203
205
|
value = dotnotation_attribute.definition
|
|
204
|
-
sheet.cell(row=1, column=cell.column, value=value)
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
cell.alignment = Alignment(wrapText=True, vertical='top')
|
|
209
|
-
cell.fill = PatternFill(start_color="808080", end_color="808080", fill_type="solid")
|
|
206
|
+
newcell = sheet.cell(row=1, column=cell.column, value=value)
|
|
207
|
+
newcell.alignment = Alignment(wrapText=True, vertical='top')
|
|
208
|
+
newcell.fill = PatternFill(start_color="808080", end_color="808080",
|
|
209
|
+
fill_type="solid")
|
|
210
210
|
|
|
211
211
|
@classmethod
|
|
212
212
|
def check_for_deprecated_attributes(cls, workbook, instantiated_attributes: list):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: otlmow_template
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.10
|
|
4
4
|
Author-email: David Vlaminck <david.vlaminck@mow.vlaanderen.be>, Jasper Berton <jasperberton1@telenet.be>
|
|
5
5
|
License: GNU GENERAL PUBLIC LICENSE
|
|
6
6
|
Version 3, 29 June 2007
|
|
@@ -698,7 +698,7 @@ Requires-Python: >=3.9
|
|
|
698
698
|
Description-Content-Type: text/markdown
|
|
699
699
|
License-File: LICENSE
|
|
700
700
|
Requires-Dist: otlmow-converter>=1.7
|
|
701
|
-
Requires-Dist: otlmow-modelbuilder>=0.
|
|
701
|
+
Requires-Dist: otlmow-modelbuilder>=0.25
|
|
702
702
|
|
|
703
703
|
# OTLMOW-Template
|
|
704
704
|
[](https://pypi.org/project/otlmow-template/)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
otlmow_template/CsvTemplateCreator.py,sha256=PQq2zGmliWk0N9bhYNB7ZEa8PWV16OTbvoHh3--qCMs,7538
|
|
2
|
+
otlmow_template/ExcelTemplateCreator.py,sha256=wW-7Uq2Gzr1vHYMO1I7TtqZSBTVFFSWotHvjwzCelV4,10853
|
|
3
|
+
otlmow_template/SubsetTemplateCreator.py,sha256=FQNaOp-3_EelKijpOBT5KjwZ3X30yD5K9xpmY0euDLo,25225
|
|
4
|
+
otlmow_template/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
otlmow_template/Exceptions/MissingTypeUriException.py,sha256=DSKwywmP9Bq8n7rzBoDcEPlxvC1IChx18QIHFUCTtdA,51
|
|
6
|
+
otlmow_template-0.10.dist-info/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
|
|
7
|
+
otlmow_template-0.10.dist-info/METADATA,sha256=0FveCcFEZtR8CqXMNDG0VPhWurSVOtXOtEzsfPMfsik,44000
|
|
8
|
+
otlmow_template-0.10.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
9
|
+
otlmow_template-0.10.dist-info/top_level.txt,sha256=zPgBoaTLG-avoOLySlwOUEtHaFyA5Vc5wJqkSeX1l6A,16
|
|
10
|
+
otlmow_template-0.10.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
otlmow_template/CsvTemplateCreator.py,sha256=PQq2zGmliWk0N9bhYNB7ZEa8PWV16OTbvoHh3--qCMs,7538
|
|
2
|
-
otlmow_template/ExcelTemplateCreator.py,sha256=wW-7Uq2Gzr1vHYMO1I7TtqZSBTVFFSWotHvjwzCelV4,10853
|
|
3
|
-
otlmow_template/SubsetTemplateCreator.py,sha256=xnK3GvAZ9cH7r3Y0WUU8MeObLStfHAK3Ok8EtDQsInE,25175
|
|
4
|
-
otlmow_template/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
-
otlmow_template/Exceptions/MissingTypeUriException.py,sha256=DSKwywmP9Bq8n7rzBoDcEPlxvC1IChx18QIHFUCTtdA,51
|
|
6
|
-
otlmow_template-0.9.dist-info/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
|
|
7
|
-
otlmow_template-0.9.dist-info/METADATA,sha256=xQIicV7RoS8gicXkXu3YBz0NkI678uM1DrTePhvsjHk,43999
|
|
8
|
-
otlmow_template-0.9.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
9
|
-
otlmow_template-0.9.dist-info/top_level.txt,sha256=zPgBoaTLG-avoOLySlwOUEtHaFyA5Vc5wJqkSeX1l6A,16
|
|
10
|
-
otlmow_template-0.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|