Skip to content

Commit 445450f

Browse files
peterhollenderarhowe00
authored andcommitted
accept autofix
1 parent d9def0d commit 445450f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/openlifu/plan/solution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def num_foci(self) -> int:
9797
def analyze(self,
9898
transducer: Transducer,
9999
options: SolutionAnalysisOptions = SolutionAnalysisOptions(),
100-
param_constraints: Dict[str,ParameterConstraint]|None=None) -> SolutionAnalysis:
100+
param_constraints: Dict[str,ParameterConstraint] = field(default_factory=dict)) -> SolutionAnalysis:
101101
"""Analyzes the treatment solution.
102102
103103
Args:

tests/test_solution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def example_solution() -> Solution:
7676
'z': xa.DataArray(dims=["z"], data=np.linspace(0, 1, 3), attrs={'units': "m"}),
7777
'focal_point_index': [0]
7878
}
79-
),
79+
)
8080
)
8181

8282

0 commit comments

Comments
 (0)