-
Notifications
You must be signed in to change notification settings - Fork 6
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
IndexError: Boolean index has wrong length #109
Comments
Hi Pankaj, can you describe in more detail what you did because I cant reproduce it? I assumed you opened a tloc file after picking and applied some threshold and now want to save the results. This seems to work for me. Maybe I misunderstood you? Best |
Can you send me the tloc file? |
Hi Thorsten,
Please excuse my late response.
Please find attached the tloc file.
Thank you,
Pankaj.
…On Mon, Oct 7, 2024 at 3:48 AM Thorsten Wagner ***@***.***> wrote:
Can you send me the tloc file?
—
Reply to this email directly, view it on GitHub
<#109 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJGUFYHXPM3QCVDMJBXADBTZ2I4FTAVCNFSM6AAAAABO5MIQBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJWGE3TCNZTGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
It seems that the attachment via mail has failed |
I am not able to attach the tloc file here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi all,
I am getting the following error when i am trying to save selected particles.
File ~/.local/lib/python3.10/site-packages/pandas/core/indexers/utils.py:539, in check_array_indexer(array=Index([3313, 3314, 3315, 3316, 3317, 3318, 3319,...5, 4866, 4867],
dtype='int64', length=1555), indexer=<class 'numpy.ndarray'> (4868,) bool)
537 # GH26658
538 if len(indexer) != len(array):
--> 539 raise IndexError(
540 f"Boolean index has wrong length: "
541 f"{len(indexer)} instead of {len(array)}"
542 )
543 elif is_integer_dtype(dtype):
544 try:
IndexError: Boolean index has wrong length: 4868 instead of 1555
##################################################
How can i change the length, which seems causing the problem while the saving the coordinates.
Thank you,
Pankaj.
The text was updated successfully, but these errors were encountered: