Skip to content

Commit c6ed500

Browse files
committed
Linting fixes
1 parent 6bf4d05 commit c6ed500

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

pvnet/models/multimodal/encoders/encoders3d.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ def __init__(
4040
fc_features: number of output nodes out of the hidden fully connected layer.
4141
spatial_kernel_size: The spatial size of the kernel used in the conv3d layers.
4242
temporal_kernel_size: The temporal size of the kernel used in the conv3d layers.
43-
padding: The padding used in the conv3d layers. If an int, the same padding is used in all dimensions
43+
padding: The padding used in the conv3d layers. If an int, the same padding
44+
is used in all dimensions
4445
"""
4546
super().__init__(sequence_length, image_size_pixels, in_channels, out_features)
4647
if isinstance(padding, int):

pvnet/models/multimodal/multimodal.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ def __init__(
103103
`forecast_minutes` if not provided.
104104
nwp_history_minutes: Period of historical NWP forecast used as input. Defaults to
105105
`history_minutes` if not provided.
106-
pv_history_minutes: Length of recent site-level PV data data used as input. Defaults to
107-
`history_minutes` if not provided.
106+
pv_history_minutes: Length of recent site-level PV data data used as
107+
input. Defaults to `history_minutes` if not provided.
108108
optimizer: Optimizer factory function used for network.
109109
target_key: The key of the target variable in the batch.
110110
interval_minutes: The interval between each sample of the target data
@@ -115,7 +115,8 @@ def __init__(
115115
sat_interval_minutes: The interval between each sample of the satellite data
116116
sensor_interval_minutes: The interval between each sample of the sensor data
117117
image_embedding_dim: The number of dimensions to use for the image embedding
118-
timestep_intervals_to_plot: Intervals, in timesteps, to plot in addition to the full forecast
118+
timestep_intervals_to_plot: Intervals, in timesteps, to plot in
119+
addition to the full forecast
119120
sensor_encoder: Encoder for sensor data
120121
sensor_history_minutes: Length of recent sensor data used as input.
121122
"""

0 commit comments

Comments
 (0)