Skip to content

Commit d86ca50

Browse files
committed
Fix class name
1 parent 332ab53 commit d86ca50

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/training/test_train_with_obs.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def test_train_proxy_obs(
7676
fp_disc,
7777
learning_rate=1e-4,
7878
loss={
79-
'GeothermalPhysicsLossWithObs': {
79+
'GeothermalObsLoss': {
8080
'gen_features': FEATURES_W,
8181
'true_features': [f'{feat}_obs' for feat in FEATURES_W],
8282
},
@@ -220,7 +220,7 @@ def test_train_real_obs(gen_config, sample_shape, t_enhance, fp_disc, request):
220220
fp_disc,
221221
learning_rate=1e-4,
222222
loss={
223-
'GeothermalPhysicsLossWithObs': {
223+
'GeothermalObsLoss': {
224224
'gen_features': [f'{feat}_obs' for feat in FEATURES_W],
225225
'true_features': [f'{feat}_obs' for feat in FEATURES_W],
226226
}
@@ -293,7 +293,7 @@ def test_train_proxy_obs_with_topo(lr_only_features, request):
293293
pytest.ST_FP_DISC,
294294
learning_rate=1e-4,
295295
loss={
296-
'GeothermalPhysicsLossWithObs': {
296+
'GeothermalObsLoss': {
297297
'gen_features': FEATURES_W,
298298
'true_features': [f'{feat}_obs' for feat in FEATURES_W],
299299
}
@@ -400,10 +400,10 @@ def test_train_real_obs_with_topo(lr_only_features, request):
400400
learning_rate=1e-4,
401401
loss={
402402
'MeanAbsoluteError': {},
403-
'GeothermalPhysicsLossWithObs': {
403+
'GeothermalObsLoss': {
404404
'gen_features': FEATURES_W,
405405
'true_features': [f'{feat}_obs' for feat in FEATURES_W],
406-
}
406+
},
407407
},
408408
)
409409

0 commit comments

Comments
 (0)