Skip to content

Commit 83c922c

Browse files
committed
fix: ruff format
1 parent 444c1e9 commit 83c922c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/rs_embed/embedders/onthefly_galileo.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,9 @@ def _prepare_galileo_encoder_inputs(
562562
"months": tuple(int(v) + 1 for v in months_arr.tolist()),
563563
"month": int(months_arr[len(months_arr) // 2]) + 1,
564564
"month_indices": tuple(int(v) for v in months_arr.tolist()),
565-
"normalization": "official_stats" if _is_galileo_official_stats_mode(mode_l) else str(mode_l),
565+
"normalization": "official_stats"
566+
if _is_galileo_official_stats_mode(mode_l)
567+
else str(mode_l),
566568
"include_ndvi": False,
567569
"s2_group_indices": tuple(int(i) for i in s2_group_indices),
568570
}
@@ -671,7 +673,9 @@ class GalileoEmbedder(EmbedderBase):
671673
cloudy_pct=30,
672674
temporal_mode="multi",
673675
n_frames=8,
674-
normalization=NormalizationSpec(mode="s2_sr_raw"), # adapter keeps raw SR; model-side prep is configurable
676+
normalization=NormalizationSpec(
677+
mode="s2_sr_raw"
678+
), # adapter keeps raw SR; model-side prep is configurable
675679
image_size=64,
676680
expected_channels=10,
677681
)

0 commit comments

Comments
 (0)