Skip to content

Commit

Permalink
Fix detailed project stats also
Browse files Browse the repository at this point in the history
  • Loading branch information
dhakim87 committed Apr 27, 2020
1 parent 38f838e commit 5bc8598
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion microsetta_private_api/repo/admin_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,8 @@ def get_project_detailed_statistics(self, project_id):
"LEFT JOIN "
"barcode "
"USING(barcode) "
"WHERE project_id=%s",
"WHERE project_id=%s "
"GROUP BY project_id",
(project_id,)
)
row = cur.fetchone()
Expand Down Expand Up @@ -528,6 +529,7 @@ def get_project_detailed_statistics(self, project_id):
detailed_stats = {
'project_id': project_id,
'project_name': project_name,
'number_of_kits': number_of_kits,
'number_of_samples': number_of_samples,
'number_of_samples_scanned_in': number_of_samples_scanned_in,
'sample_status_counts': sample_status_counts
Expand Down

0 comments on commit 5bc8598

Please sign in to comment.