Skip to content

Commit

Permalink
v1.9.49: fixed coordinate encoding in htmls
Browse files Browse the repository at this point in the history
  • Loading branch information
annazhukova committed Sep 18, 2024
1 parent c5b98a9 commit 5d4c19c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM python:3.10.14-slim
RUN mkdir /pasteur

# Install pastml
RUN cd /usr/local/ && pip3 install --no-cache-dir pastml==1.9.48
RUN cd /usr/local/ && pip3 install --no-cache-dir pastml==1.9.49

# The entrypoint runs pastml with command line arguments
ENTRYPOINT ["pastml"]
2 changes: 1 addition & 1 deletion pastml/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import logging
from datetime import datetime

PASTML_VERSION = '1.9.48'
PASTML_VERSION = '1.9.49'

METHOD = 'method'
STATES = 'states'
Expand Down
4 changes: 2 additions & 2 deletions pastml/visualisation/cytoscape_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,8 +666,8 @@ def _clazz_list2css_class(clazz_list):

def _get_node(data, clazz=None, position=None):
if position:
data['node_x'] = position[0]
data['node_y'] = position[1]
data['node_x'] = float(position[0])
data['node_y'] = float(position[1])
res = {DATA: data}
if clazz:
res['classes'] = clazz
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3 :: Only',
],
version='1.9.48',
version='1.9.49',
description='Ancestral character reconstruction and visualisation for rooted phylogenetic trees.',
author='Anna Zhukova',
author_email='[email protected]',
Expand Down

0 comments on commit 5d4c19c

Please sign in to comment.