def loadSingleTraceFile ( filenumber , numTraces = - 1 ) :
    if numTraces == - 1 or numTraces > tracesPerFile : numTraces = tracesPerFile
    return np . fromfile ( directory + "str" . format ( filenumber ) , np . int8 , numTraces * pointsPerTrace ) . reshape numTraces , pointsPerTrace )

def loadSingleTraceFile ( filenumber , numTraces = - 1 ) :
    if numTraces == - 1 or numTraces > tracesPerFile :
        numTraces = tracesPerFile
    return np . fromfile ( directory + "str" . format ( filenumber ) , np . int8 , numTraces * pointsPerTrace ) . reshape ( numTraces , pointsPerTrace )

次に示すpythonコードの誤りを修正しなさい。