Skip to content

fixing invalid literal for int() with base 10 error in cli.py#729

Merged
dkazanc merged 1 commit into
mainfrom
limit_str_bug
Jun 4, 2026
Merged

fixing invalid literal for int() with base 10 error in cli.py#729
dkazanc merged 1 commit into
mainfrom
limit_str_bug

Conversation

@dkazanc

@dkazanc dkazanc commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

Fixes:

Traceback (most recent call last):
  File "/dls_sw/apps/httomo/latest/build/httomo/cli.py", line 355, in transform_limit_str_to_bytes
    return int(limit_str)
           ^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '44038400000.0'

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have made corresponding changes to the documentation
  • I have added the user-release-note label in order to include this PR in the "Notable
    Changes for Users" section in release notes

@dkazanc dkazanc merged commit 0b5f644 into main Jun 4, 2026
4 of 5 checks passed
@dkazanc dkazanc deleted the limit_str_bug branch June 4, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant