Skip to content

Commit

Permalink
add descriptions to DownsampleVideo sub class schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsf committed Jan 25, 2022
1 parent 95e329d commit 325c5fb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/ophys_etl/modules/downsample_video/side_by_side_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ class SideBySideDownsamplerSchema(DownsampleBaseSchema):
left_video_path = argschema.fields.InputFile(
required=True,
default=None,
allow_none=False)
allow_none=False,
description=("Path to the input video to be displayed "
"in the left panel of the output video"))

right_video_path = argschema.fields.InputFile(
required=True,
default=None,
allow_none=False)
allow_none=False,
description=("Path to the input video to be displayed "
"in the right panel of the output video"))


class SideBySideDownsampler(argschema.ArgSchemaParser):
Expand Down
3 changes: 2 additions & 1 deletion src/ophys_etl/modules/downsample_video/single_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ class VideoDownsamplerSchema(DownsampleBaseSchema):
video_path = argschema.fields.InputFile(
required=True,
default=None,
allow_none=False)
allow_none=False,
description="Path to the input video file")


class VideoDownsampler(argschema.ArgSchemaParser):
Expand Down

0 comments on commit 325c5fb

Please sign in to comment.