Skip to content

Commit

Permalink
Fix pretty printing of processes.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Jul 4, 2023
1 parent 7870233 commit 30c5fcf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions order/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

import sys

import six
from scinum import Number

from order.unique import UniqueObject, UniqueObjectIndex, unique_tree
Expand Down Expand Up @@ -231,7 +230,7 @@ def pretty_print(self, ecm=None, offset=40, max_depth=-1, stream=None, _depth=0,
xsec = self.xsecs.get(ecm)
entry += " " * _depth + (xsec.str(**kwargs) if xsec else "no cross-section")

stream.write(six.b(entry + "\n"))
stream.write(entry + "\n")

# stop here when max_depth is reached
if 0 <= max_depth <= _depth:
Expand Down

0 comments on commit 30c5fcf

Please sign in to comment.