Skip to content

Commit

Permalink
Updating the definition of the StageParams to remove dtype and includ…
Browse files Browse the repository at this point in the history
…e required=False.
  • Loading branch information
drewoldag committed Apr 24, 2024
1 parent 45a9b40 commit cc443d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rail/creation/noisifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Noisifier(RailStage):
name = 'Noisifier'
config_options = RailStage.config_options.copy()
config_options.update(
seed=Param(int, None, msg="If set, creates reproducible results."),
seed=Param(default=None, required=False, msg="Set to an `int` to force reproducible results."),
)
inputs = [('input', PqHandle)]
outputs = [('output', PqHandle)]
Expand Down
2 changes: 1 addition & 1 deletion src/rail/creation/selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Selector(RailStage):
config_options = RailStage.config_options.copy()
config_options.update(
drop_rows=Param(bool, True, msg="Drop selected rows from output table"),
seed=Param(int, None, msg="If set, creates reproducible results."),
seed=Param(default=None, required=False, msg="Set to an `int` to force reproducible results."),
)
inputs = [('input', PqHandle)]
outputs = [('output', PqHandle)]
Expand Down

0 comments on commit cc443d6

Please sign in to comment.