Skip to content

Commit

Permalink
Format code with black
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannis-vm committed May 1, 2024
1 parent a765707 commit e629f33
Show file tree
Hide file tree
Showing 25 changed files with 866 additions and 765 deletions.
4 changes: 1 addition & 3 deletions src/osmg/component_assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ class ComponentAssembly:
def __post_init__(self):
self.external_nodes = obj_collections.NodeCollection(self)
self.internal_nodes = obj_collections.NodeCollection(self)
self.elements = (
obj_collections.CollectionWithConnectivity(self)
)
self.elements = obj_collections.CollectionWithConnectivity(self)

def __srepr__(self):
"""
Expand Down
5 changes: 1 addition & 4 deletions src/osmg/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,7 @@ def load_default_elastic(model: Model, sec_name: str) -> None:
sgen = SectionGenerator(model)
# generate a default elastic section and add it to the model
sgen.generate_generic_elastic(
name=sec_name,
e_times_a=1.00,
e_times_i=1.00,
g_times_j=1.00
name=sec_name, e_times_a=1.00, e_times_i=1.00, g_times_j=1.00
)


Expand Down
Loading

0 comments on commit e629f33

Please sign in to comment.