Skip to content

Commit a54374b

Browse files
committed
Typo in error
1 parent af5c072 commit a54374b

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

GHEtool/Methods/optimise_borefield_configuration.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@
1111
import pygfunction as gt
1212
import optuna
1313

14+
optuna.logging.disable_default_handler()
1415

15-
# optuna.logging.disable_default_handler()
1616

17-
18-
def _find_borefield(borefield, n_1, n_2, b_1, b_2, shape) -> gt.borefield.Borefield:
17+
def _find_borefield(borefield, n_1, n_2, b_1, b_2, shape, **kwargs) -> gt.borefield.Borefield:
1918
if shape < 1:
2019
return gt.borefield.Borefield.L_shaped_field(n_1, n_2, b_1, b_2, 100, borefield.D, borefield.r_b)
2120
elif shape < 2:

GHEtool/VariableClasses/BaseClass.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,5 @@ class UnsolvableOptimalFieldError(Exception):
7777
"""
7878

7979
def __init__(self):
80-
super().__init__('No solution can be found with the current restrictions and iterations. Please try'
81-
'increasing the field size, allowed depths and/or the number of try"s.')
80+
super().__init__("No solution can be found with the current restrictions and iterations. Please try "
81+
"increasing the field size, allowed depths and/or the number of try's.")

0 commit comments

Comments
 (0)