Dear Support,
The function delete_record doesn't work as expected, probably because it's not extensively tested.
The current V2024.0, from line 134Using ancid as key to delete records in tables satancinfo and ancfiles would delete records needed by other satid. Therefore my suggestion isThanks,
Yuyuan
The function delete_record doesn't work as expected, probably because it's not extensively tested.
The current V2024.0, from line 134
Code:
else: satid = self.check_file(filename, starttime=starttime) ancids = conn.execute('select ancid from satancinfo where satid = ?', [satid]) for a in ancids: c.execute('DELETE from satancinfo where ancid = ?', [a[0]]) c.execute('DELETE from ancfiles where ancid = ?', [a[0]])
Code:
else: satid = self.check_file(filename, starttime=starttime) c.execute('DELETE from satancinfo where satid = ?', [satid]) c.execute('DELETE from satfiles where satid = ?', [satid])
Yuyuan
Statistics: Posted by oo_processing — Fri Jul 05, 2024 2:18 pm America/New_York