File tree 1 file changed +4
-3
lines changed
rastervision_core/rastervision/core/data/vector_transformer
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,16 @@ class ShiftTransformerConfig(VectorTransformerConfig):
14
14
15
15
x_shift : float = Field (
16
16
0.0 ,
17
- descriptions = 'Distance in meters to shift along the x-axis. '
17
+ description = 'Distance in meters to shift along the x-axis. '
18
18
'Postive values shift eastward.' )
19
19
y_shift : float = Field (
20
20
0.0 ,
21
- descriptions = 'Distance in meters to shift along the y-axis. '
21
+ description = 'Distance in meters to shift along the y-axis. '
22
22
'Postive values shift northward.' )
23
23
round_pixels : bool = Field (
24
24
True ,
25
- descriptions = 'Whether to round shifted pixel values to integers.' )
25
+ description = 'Whether to round shifted pixel values to integers.' ,
26
+ )
26
27
27
28
def build (self ,
28
29
class_config : 'ClassConfig | None' = None ) -> ShiftTransformer :
You can’t perform that action at this time.
0 commit comments