Skip to content

TypeError: 'float' object cannot be interpreted as an integer #110

@ispielma

Description

@ispielma

I got the following error when running lyse in python 3.10.13. The fix is really simple: in line 1106 one needs to change status_percent to int(status_percent). See the actual error below.

I am posting this here as a bug rather than doing a pull request because I don't have a clean fork of lyse setup for this sort of thing.

Traceback (most recent call last):
  File "C:\Users\rubidium\AppData\Local\miniconda3\envs\labscript\lib\site-packages\lyse\__main__.py", line 1106, in paint
    progress_bar_option.progress = status_percent # change to int(status_percent)
TypeError: 'float' object cannot be interpreted as an integer

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions