Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'NoneType' object is not subscriptable in detect_flicker.py #13

Closed
paulmueller opened this issue Feb 17, 2025 · 3 comments
Closed

'NoneType' object is not subscriptable in detect_flicker.py #13

paulmueller opened this issue Feb 17, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@paulmueller
Copy link
Member

Data ID: hdf:p=0.2675^i=0
Traceback (most recent call last):
File "run-chipstream-cli.py", line 8, in
File "click\core.py", line 1161, in call
File "click\core.py", line 1082, in main
File "click\core.py", line 1443, in invoke
File "click\core.py", line 788, in invoke
File "chipstream\cli\cli_main.py", line 223, in chipstream_cli
File "chipstream\cli\cli_proc.py", line 61, in process_dataset
File "dcnum\read\detect_flicker.py", line 40, in detect_flickering
TypeError: 'NoneType' object is not subscriptable
[PYI-1792:ERROR] Failed to execute script 'run-chipstream-cli' due to unhandled exception!

@paulmueller paulmueller added the bug Something isn't working label Feb 17, 2025
@paulmueller
Copy link
Member Author

It seems like dcnum does not find images in the data file. After identifying the problem with the file, there should be a more descriptive error message at least.

@paulmueller
Copy link
Member Author

The file indeed does not contain any image data.

@paulmueller paulmueller transferred this issue from DC-analysis/dcnum Feb 17, 2025
@paulmueller
Copy link
Member Author

54dbdc2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant