Skip to content

Commit cf6ed1e

Browse files
Natasha ChetwyndNatasha Chetwynd
authored andcommitted
Added in rounding function
1 parent 7625864 commit cf6ed1e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

codonPython/suppression.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ def suppress_value(valuein: int, rc:str = '*')->str:
2727
'0'
2828
"""
2929

30-
if valuein ==0:
30+
if valuein == 0:
3131
valueout = str(valuein)
3232
if 1 <= valuein <= 7:
3333
valueout = rc
34-
if valuein >7:
34+
if valuein > 7:
3535
valueout = str(valuein)
3636
return valueout

0 commit comments

Comments
 (0)