def get_short_name(self):
    ''' Returns string with short name (at most 10 char) of this data object,
          with no spaces and only alpha-numeric characters.
        Useful for creating filepaths specific for this data object.
    '''
    if hasattr(self, 'shortname'):
      return self.shortname
    return (self.nObs) % "MyData%d"
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/data/DataObj.py/DataObj.get_short_name/swapped operands of `%`