def update_NDDdata (self, iid, ndddata):
        assert isinstance(ndddata, NDDdata)
        c = self.conn.cursor()
        
        factor = ndddata.get('Factor')
        organism = ndddata.get('Organism')
        cell = ndddata.get('Cell')
        platform = ndddata.get('Platform')
        status = ndddata.get('Status')
        lab = ndddata.get('Lab')
        paper = ndddata.get('Paper')
        condition = ndddata.get('Condition')
        ty = ndddata.get('Type')
        submit = ndddata.get('Submit')
        assem = ndddata.get('Assembly')
        c.execute('UPDATE dataset SET Factor = "%s", Organism = "%s", Assembly = "%s", Cell = "%s", Platform = "%s", Status = "%s", Lab = "%s", Paper = "%s", Condition = "%s", Type = "%s", Submit = "%s",Raw = "%s",XLS = "%s", Wiggle = "%s", GEO = "%s", PubMED = "%s", Comment = "%s" where id=%s' %
                  (factor,organism,assem,cell,platform,status,lab,paper,
                   condition,ty,submit,
                   ndddata.get('Raw'),
                   ndddata.get('XLS'),
                   ndddata.get('Wiggle'),
                   ndddata.get('GEO'),
                   ndddata.get('PubMED'),
                   ndddata.get('Comment'),
                   str(iid) ))
        self.conn.commit()
        c.close()
        return True
Update a chIP entry for a NDDdata object.
dataset/ETHPy150Open taoliu/taolib/CoreLib/DB/DataCollection.py/DBDataCollection.update_NDDdata