Skip to content

Commit 9bd7f03

Browse files
Merge pull request #16 from jupyter-robotics/dev
Minor fixes to output messages
2 parents 73641ff + fecbd74 commit 9bd7f03

File tree

7 files changed

+11
-12
lines changed

7 files changed

+11
-12
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11

22
# ipynao
33

4-
[![Build Status](https://travis-ci.org/QuantStack/ipynao.svg?branch=main)](https://travis-ci.org/QuantStack/ipynao)
5-
[![codecov](https://codecov.io/gh/QuantStack/ipynao/branch/main/graph/badge.svg)](https://codecov.io/gh/QuantStack/ipynao)
6-
4+
[![Build Status](https://github.com/jupyter-robotics/ipynao/actions/workflows/build.yml/badge.svg)](https://github.com/jupyter-robotics/ipynao/actions/workflows/build.yml)
5+
[![lite-badge](https://jupyterlite.rtfd.io/en/latest/_static/badge-launch.svg)](https://jupyter-robotics.dev/lab/index.html?path=introduction.ipynb)
76

87
A widget library for controlling Nao
98

content/introduction.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"metadata": {},
1515
"outputs": [],
1616
"source": [
17-
"%pip install ipynao==0.4"
17+
"%pip install ipynao==0.4.1"
1818
]
1919
},
2020
{

ipynao/_frontend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
"""
1010

1111
module_name = "ipynao"
12-
module_version = "^0.4.0"
12+
module_version = "^0.4.1"

ipynao/nao_robot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async def async_call_service(self, method_name, *args, **kwargs):
5454

5555
response = self.widget.response[request_id]['data']
5656
del self.widget.response[request_id]
57-
57+
5858
return response
5959

6060

@@ -109,10 +109,10 @@ def get_value_change(change):
109109

110110
if (response['isError']):
111111
future.set_exception(Exception(response['data']))
112-
output.append_stderr(response['data'])
112+
output.append_stderr(str(response['data']) + '\n')
113113
else:
114114
future.set_result(response['data'])
115-
output.append_stdout(response['data'])
115+
output.append_stdout(str(response['data']) + '\n')
116116

117117
else:
118118
future.set_result(change)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ipynao",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "A widget library for controlling Nao",
55
"keywords": [
66
"jupyter",

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ classifiers = [
3434
dependencies = [
3535
"ipywidgets>=7.0.0",
3636
]
37-
version = "0.4.0"
37+
version = "0.4.1"
3838

3939
[project.optional-dependencies]
4040
docs = [
@@ -104,7 +104,7 @@ file = [
104104
]
105105

106106
[tool.tbump.version]
107-
current = "0.4.0"
107+
current = "0.4.1"
108108
regex = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<channel>a|b|rc|.dev)(?P<release>\\d+))?"
109109

110110
[tool.tbump.git]

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ipympl>=0.8.2
2727
ipycanvas>=0.9.1
2828

2929
# Python: ipynao library for Nao robot
30-
ipynao>=0.4.0
30+
ipynao>=0.4.1
3131

3232
# For examples with images
3333
Pillow

0 commit comments

Comments
 (0)