def append_data(self):
     data = self.model.appendData(type='system', format='pdb')
     dpiece = DataPiece(data)
     self.__datalist.append(dpiece)
     self.view.appendData( dpiece.get_view() )
 def append_data(self):
     data = self.model.append_data(type="system", format="pdb")
     dp = DataPiece(task)
     self.__datalist.append(dp)
     self.view.append_data(dp.get_view())