Commits

mimakaev  committed 44f6e33

Tiny bugfix

  • Participants
  • Parent commits b2e23b5

Comments (0)

Files changed (2)

File src/hiclib/highResBinnedData.py

         mydict = h5dict(filename)
         for i in self.allKeys:
             data = self.data[i].getData()
-            mydict["heatmap%d %d" % (i, i)] = data
+            mydict["%d %d" % i ] = data
         mydict["resolution"] = self.resolution
 
 

File tests/highResBinnedData/testHighResHiC.py

 from hiclib.highResBinnedData import HiResHiC
 from mirnylib.genome import Genome
 from hiclib.binnedData import binnedData
-from mirnylib.plotting import mat_img
 from mirnylib.h5dict import h5dict
 import numpy as np
-
+import matplotlib.pyplot as plt
 
 genome = Genome("../../../data/hg19", readChrms=["1", "2", "3", "4", "5"])
 
 b.removeDiagonal()
 b.removePoorRegions(cutoff=2)
 b.iterativeCorrectWithoutSS(tolerance=1e-10)
+a.export("testExport")
 
 dataHigh = a.getCombinedMatrix()
 dataLow = b.dataDict["data"]