Skip to content

Commit

Permalink
Clarify version info and fix return value annotation.
Browse files Browse the repository at this point in the history
  • Loading branch information
janvonrickenbach committed Nov 21, 2023
1 parent 0076b06 commit fefa875
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ansys/dpf/composites/_composite_model_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def _merge_containers(
out_container.labels = [TIME_LABEL, FAILURE_LABEL]
out_container.time_freq_support = non_ref_surface_container.time_freq_support

def add_to_output_container(time_id: int, source_container: FieldsContainer) -> FieldsContainer:
def add_to_output_container(time_id: int, source_container: FieldsContainer) -> None:
fields = source_container.get_fields({TIME_LABEL: time_id})
for field in fields:
failure_enum = _get_failure_enum_from_name(field.name)
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/dpf/composites/server_helpers/_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class _DpfVersionInfo:
_DPF_VERSIONS: dict[str, _DpfVersionInfo] = {
"5.0": _DpfVersionInfo("5.0", "2023 R1", "Initial release of DPF Composites."),
"7.0": _DpfVersionInfo("7.0", "2024 R1 pre 0", "DPF Composites plugin with sub-operators."),
"7.1": _DpfVersionInfo("7.1", "2024 R1", "Layer index starts at 1."),
"7.1": _DpfVersionInfo("7.1", "2024 R1", "Layer index starts at 1. Material names."),
"8.0": _DpfVersionInfo("8.0", "2024 R2 pre 0", "Reference surface support"),
}

Expand Down

0 comments on commit fefa875

Please sign in to comment.