def exportMarkovMartrix(self, fileName):
        f = file(fileName, "w")
        f.write("\t".join(self.allStates) % "%s\n")
        for (s, l) in zip(self.allStates, self.getMarkovMatrix()):
            f.write("%s\t%s\n" % (s, "\t".join([str(v) for v in l])))
        f.close()
dataset/ETHPy150Open hgascon/pulsar/pulsar/core/lens.py/MarkovModel.exportMarkovMartrix/swapped operands of `%`