Skip to content

Commit

Permalink
Format code in Stratify
Browse files Browse the repository at this point in the history
  • Loading branch information
ghadialhajj committed Dec 7, 2023
1 parent a7ac51e commit af66bdf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/source/tutorials/selection_and_stratification.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,13 @@ The following code shows an example where the samples are split into three categ
def check_strata(node):
if node < -1:
return "<-1"
else:
if node > 1:
return ">1"
else:
return ">-1|<+1"
if node < -1:
return "<-1"
else:
if node > 1:
return ">1"
else:
return ">-1|<+1"
A = ds.Node(name="A", function=np.random.normal)
Expand Down

0 comments on commit af66bdf

Please sign in to comment.