def __str__( s ):
    if s.nstages > 0:
      return ''.join([ ("*" if x != None else ' ') for x in s.pipe.data ])
    else:
      return ""
dataset/ETHPy150Open cornell-brg/pymtl/pclib/cl/OutValRdyInelasticPipeAdapter.py/OutValRdyInelasticPipeAdapter.__str__/original