Skip to content

Commit

Permalink
docs(input): Change description of north
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelkp committed Jan 2, 2024
1 parent 0bd37b2 commit 41de7fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions pollination/direct_sun_hours/_prepare_folder.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ class DirectSunHoursPrepareFolder(GroupedDAG):

north = Inputs.float(
default=0,
description='A number for rotation from north.',
spec={'type': 'number', 'minimum': 0, 'maximum': 360},
description='A number between -360 and 360 for the counterclockwise '
'difference between the North and the positive Y-axis in degrees. This '
'can also be a Vector for the direction to North. (Default: 0).',
spec={'type': 'number', 'minimum': -360, 'maximum': 360},
alias=north_input
)

Expand Down
6 changes: 4 additions & 2 deletions pollination/direct_sun_hours/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ class DirectSunHoursEntryPoint(DAG):

north = Inputs.float(
default=0,
description='A number for rotation from north.',
spec={'type': 'number', 'minimum': 0, 'maximum': 360},
description='A number between -360 and 360 for the counterclockwise '
'difference between the North and the positive Y-axis in degrees. This '
'can also be a Vector for the direction to North. (Default: 0).',
spec={'type': 'number', 'minimum': -360, 'maximum': 360},
alias=north_input
)

Expand Down

0 comments on commit 41de7fe

Please sign in to comment.