Skip to content

Commit

Permalink
Fix/doc_strings (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrpetre authored Feb 6, 2023
1 parent 8839c35 commit c82de58
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/ansys/pytwin/evaluate/twin_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,15 +376,16 @@ def model_filepath(self):
def tbrom_info(self):
"""
Return a dictionary with TBROM model names included in the Twin and their corresponding 3D visualization
capabilities available (e.g. snapshots, and optionally images generation). If no TBROM is included in the
Twin, it returns None
capabilities available (e.g. snapshots, and optionally images generation). If TwinModel has not been
initialized, or no TBROM is included in the Twin, it returns None
"""
return self._tbrom_info

@property
def tbrom_names(self):
"""
Return available TBROM model names. If no TBROM is included in the Twin, it returns an empty list.
Return available TBROM model names. If TwinModel has not been initialized, or no TBROM is included in the
Twin, it returns an empty list.
"""
if self._tbrom_info is not None:
return list(self._tbrom_info)
Expand Down

0 comments on commit c82de58

Please sign in to comment.