Skip to content

Commit

Permalink
Merge pull request bitcraze#567 from bitcraze/qualisys-fix
Browse files Browse the repository at this point in the history
fix parsing xml qtm
  • Loading branch information
krichardsson authored Jan 24, 2022
2 parents feff665 + 3349068 commit 469860f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def relative(lst, base=''):
'pyqtgraph~=0.11',
'PyYAML~=5.3',
'asyncqt~=0.8.0',
'qtm~=2.0.2',
'qtm~=2.1.1',
'numpy>=1.20,<1.25',
'vispy~=0.9.0',
'pyserial~=3.5',
Expand Down
2 changes: 1 addition & 1 deletion src/cfclient/ui/tabs/QualisysTab.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ async def setup_qtm_connection(self):

# Parse the returned xml
xml = ET.fromstring(result)
self.qtm_6DoF_labels = [label.text for label in xml.iter('Name')]
self.qtm_6DoF_labels = [label.text.strip() for index, label in enumerate(xml.findall('*/Body/Name'))]

# Make all names lowercase
self.qtm_6DoF_labels = [x.lower() for x in self.qtm_6DoF_labels]
Expand Down

0 comments on commit 469860f

Please sign in to comment.