Skip to content

Commit 8ddf28f

Browse files
koubaaMohamed Koubaapyansys-ci-bot
authored
fix: Rename cards (#732)
Co-authored-by: Mohamed Koubaa <[email protected]> Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent d27f1c4 commit 8ddf28f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+218
-217
lines changed

codegen/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ Corrections include:
5252

5353
Supplements include:
5454
- adding aliases - see `Appendix A - Aliasing`
55-
- cards that repeat, handled as a two dimensional table ("duplicate-card")
55+
- cards that repeat, handled as a two dimensional table ("table-card")
5656
- A field represented as a one-dimensional array that repeat across cards ("variable-card")
5757
- A set of adjacent cards with their own specification. These may repeat ("card-set")
5858
- A card that is only active under a condition ("conditional-card")
59-
- A set of adjacent cards that repeat, handled as a two dimensional table ("duplicate-card-group")
59+
- A set of adjacent cards that repeat, handled as a two dimensional table ("table-card-group")
6060
- Adding option cards ("add-option")
6161
- A field shared across multiple cards with only one meaning ("shared-field")
6262

codegen/generate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def expand(card):
319319
HANDLERS = collections.OrderedDict(
320320
{
321321
"reorder-card": handle_reorder_cards,
322-
"duplicate-card": handle_duplicate_cards,
322+
"table-card": handle_duplicate_cards,
323323
"override-field": handle_override_field,
324324
"replace-card": handle_replace_cards,
325325
"insert-card": handle_insert_cards,
@@ -329,7 +329,7 @@ def expand(card):
329329
"conditional-card": handle_conditional_cards,
330330
"rename-property": handle_rename_property,
331331
"skip-card": handle_skipped_cards,
332-
"duplicate-card-group": handle_duplicate_card_group,
332+
"table-card-group": handle_duplicate_card_group,
333333
"external-card-implementation": ExternalCardHandler(),
334334
"shared-field": SharedFieldHandler(),
335335
"override-subkeyword": handle_override_subkeyword,

0 commit comments

Comments
 (0)