Skip to content

Commit

Permalink
Fix formatting error
Browse files Browse the repository at this point in the history
  • Loading branch information
Krande committed Oct 18, 2021
1 parent dfa2581 commit 103a113
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/ada/fem/formats/abaqus/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@ def get_eigen_data(dat_file: Union[str, os.PathLike]) -> EigenDataSummary:

def read_abaqus_results(results: Results, file_ref: pathlib.Path, overwrite):
dat_file = file_ref.with_suffix(".dat")
# if results.assembly is not None:
# if results.assembly.fem.steps[0]) == StepEigen:
# is_eigen = True
if results.assembly is not None and results.assembly.fem.steps[0] == StepEigen:
# TODO: Figure out if it is worthwhile adding support for reading step information or if it should be explicitly
# stated
pass

if dat_file.exists():
results.eigen_mode_data = get_eigen_data(dat_file)

Expand Down

0 comments on commit 103a113

Please sign in to comment.