Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ WORKDIR /app
ADD . /app

RUN apt-get update \
&& apt-get install gcc g++ zlib1g-dev -y \
&& apt-get install gcc g++ make procps libbz2-dev liblzma-dev libcurl4-openssl-dev libncurses5-dev zlib1g-dev locales locales-all -y --no-install-recommends \
&& pip install cython==0.29.36 \
&& pip install -r requirements.txt \
&& pip install .
5 changes: 4 additions & 1 deletion biometrics/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ def cluster(self, comparisons):
max_occurence = occurences.most_common()
max_occurence_val = max_occurence[0][1]
most_common_group = list(filter(lambda x: x[1] == max_occurence_val, max_occurence))
most_common_group = ':'.join([i[0] for i in most_common_group])
most_common_group = ':'.join(
str(k) if not isinstance(k, (tuple, list)) else ':'.join(map(str, k))
for k, _ in most_common_group
)

for i, sample in enumerate(samples_in_group):

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.2.16
current_version = 0.2.17
commit = True
tag = True

Expand Down