Skip to content

Commit

Permalink
Improving plots. Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Shettland committed Jan 7, 2025
1 parent 0f458e6 commit 0ec4efb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions dashboard/utils/generic_process_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import dashboard.models
from relecov_platform import settings as relecov_platform_settings


def pre_proc_calculation_date():
"""Fetch the information about date for each sample to know about the
number of days between different steps of samples
Expand Down Expand Up @@ -489,6 +490,7 @@ def pre_proc_samples_received_map():
)
return {"SUCCESS": "Success"}


def pre_proc_host_info():
def split_age_in_ranges(data):
tmp_range = {}
Expand Down Expand Up @@ -574,7 +576,7 @@ def fetching_data_for_gender():
labels.append(key)
values.append(val)
return labels, values

total_invalid_data = {}
host_info_json = {}
# pie graphic for gender
Expand All @@ -600,4 +602,3 @@ def fetching_data_for_gender():
}
)
return {"SUCCESS": "Success"}

2 changes: 0 additions & 2 deletions dashboard/utils/met_host_info.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Generic imports
from collections import OrderedDict

import pandas as pd

# Local imports
Expand Down

0 comments on commit 0ec4efb

Please sign in to comment.