Prior to major database rebuild.

This commit is contained in:
Landon Wark
2023-07-27 08:14:04 -05:00
parent f22e697815
commit af810ae528
22 changed files with 76 additions and 696 deletions

View File

@@ -97,8 +97,11 @@ class SubmissionsSheet(QTableView):
sets data in model
"""
self.data = submissions_to_df(ctx=self.ctx)
self.data['id'] = self.data['id'].apply(str)
self.data['id'] = self.data['id'].str.zfill(3)
try:
self.data['id'] = self.data['id'].apply(str)
self.data['id'] = self.data['id'].str.zfill(3)
except KeyError:
pass
try:
del self.data['samples']
except KeyError: