@property
    def _duration_str(self):
        hours, rest = divmod(self.duration, 3600)
        minutes, seconds = divmod(rest, 60)
        if 1 >= hours:
            duration = "{0:.0g}:{1:02.0g}:{2:05.3f} h".format(hours, minutes, seconds)
        elif minutes >= 1:
            duration = "{0:02.0g}:{1:05.3f} min".format(minutes, seconds)
        else:
            duration = "{0:.3f} s".format(seconds)
        return duration
dataset/ETHPy150Open bastibe/PySoundFile/soundfile.py/_SoundFileInfo._duration_str/swapped operands of `>=`