question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

start_indices not working as documented in visualize.parameters

See original GitHub issue

Claims I can pass an int, but throws an TypeError: iteration over a 0-d array when I do so. Naming is also a bit misleading in case of passing an int.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
FFroehlichcommented, Feb 19, 2020

start_indices=range(10) works, start_indices=10 doesn’t. Error is thrown in line 250: https://github.com/ICB-DCM/pyPESTO/blob/dca625328b3d1200b2d4dd18f7be97468b651aed/pypesto/visualize/parameters.py#L250

0reactions
paulstaporcommented, Feb 19, 2020

Agree that it should work. I’ll do that tomorrow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

`dotnet run` cannot run the project due to `System ... - GitHub
ArgumentOutOfRangeException: startIndex cannot be larger than length of string. (Parameter 'startIndex') ... I've got the same problem on Raspberry Pi 400.
Read more >
c# - StartIndex cannot be less than zero. - Error when trying to ...
The problem here is that I get this error message: StartIndex cannot be less than zero. Why and how can I fix it?...
Read more >
ASP.net MVC 6 Cannot use New Scaffloded item
"There was an error running the selected code generator: 'startIndex cannot be larger than length of string. (Parameter 'startIndex')' ".
Read more >
Solved Develop well-documented pseudo code that finds all
The code must display the start indices where the values start to repeat, as well as the values ... This problem has been...
Read more >
40574 - startIndex cannot be larger than length of string
Parameter name: startindex. If you select Details, this error is displayed: See the end of this message for details on invoking
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found