Skip to content

Commit

Permalink
Merge pull request #153 from LSSTDESC/ceci2
Browse files Browse the repository at this point in the history
Update for ceci version 2
  • Loading branch information
hangqianjun authored Jul 17, 2024
2 parents c9a66b7 + a335e10 commit c25bd78
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/source/new_rail_stage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ The following example has all of the required pieces of a ``RailStage`` and almo
inputs = [('input', PqHandle)]
outputs = [('output', PqHandle)]
def __init__(self, args, comm=None):
RailStage.__init__(self, args, comm=comm)
def run(self):
data = self.get_data('input', allow_missing=True)
Expand Down Expand Up @@ -101,8 +99,8 @@ Here is an example of a slightly more complicated ``RailStage``.
outputs = [('output', QPHandle),
('single_NZ', QPHandle)]
def __init__(self, args, comm=None):
PZSummarizer.__init__(self, args, comm=comm)
def __init__(self, args, **kwargs):
super().__init__(self, args, **kwargs)
self.zgrid = None
def run(self):
Expand Down

0 comments on commit c25bd78

Please sign in to comment.