Skip to content

Commit

Permalink
Remove arrays for basic_funtion as they are not used
Browse files Browse the repository at this point in the history
  • Loading branch information
Toddelismyname committed Feb 15, 2025
1 parent 62f3644 commit 27006bf
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions format.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,16 +219,6 @@ def printChildren(self, element, level):
if data_elements and mapping_elements:
self.print()

# Separate mapping elements with and without basis-function
mapping_with_basis = [
elem for elem in mapping_elements
if any('basis-function:' in str(child.tag) for child in elem.getchildren())
]
mapping_without_basis = [
elem for elem in mapping_elements
if not any('basis-function:' in str(child.tag) for child in elem.getchildren())
]

# Print mapping elements with multi-line formatting
for mapping_elem in mapping_elements:
# Check if the mapping element has a basis-function child
Expand Down

0 comments on commit 27006bf

Please sign in to comment.