Skip to content

Commit

Permalink
Merge pull request #96 from colts661/ywang_sample_summary_dt
Browse files Browse the repository at this point in the history
Add Sample Date and Time to Sample Summaries
  • Loading branch information
cassidysymons authored Feb 20, 2024
2 parents 3f03bdd + e0e49f2 commit 7fcd377
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions microsetta_admin/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,9 @@ def per_sample_summary():

resource = pd.DataFrame(result['samples'])
order = ['sampleid', 'project', 'account-email',
'source-type', 'site-sampled',
'sample-status', 'sample-received', 'ffq-taken',
'ffq-complete', 'vioscreen_username']
'source-type', 'site-sampled', 'sample-date',
'sample-time', 'sample-status', 'sample-received',
'ffq-taken', 'ffq-complete', 'vioscreen_username']
order.extend(sorted(set(resource.columns) - set(order)))
resource = resource[order]
if unprocessed_barcodes:
Expand Down Expand Up @@ -433,9 +433,9 @@ def per_sample_summary():
unprocessed_barcodes = None
resource = pd.DataFrame(result['samples'])
order = ['sampleid', 'project', 'account-email',
'source-type', 'site-sampled', 'sample-status',
'sample-received', 'ffq-taken', 'ffq-complete',
'vioscreen_username']
'source-type', 'site-sampled', 'sample-date',
'sample-time', 'sample-status', 'sample-received',
'ffq-taken', 'ffq-complete', 'vioscreen_username']
order.extend(sorted(set(resource.columns) - set(order)))
resource = resource[order]

Expand Down

0 comments on commit 7fcd377

Please sign in to comment.