Skip to content

wt.data.join does not work if any individual piece being joined is a single point #1110

@DLafayetteII

Description

@DLafayetteII

test.txt

I was confident I had done this successfully ~ a year ago, but this fails in WrightTools 3.4.4 and 3.4.6.
Guessing something the slice inside the transpose:

`
File "C:\Users\David Lafayette\miniconda3\lib\site-packages\WrightTools\data_join.py", line 262, in join
combine(data, out, channel_name, new_idx, transpose, slice_)

File "C:\Users\David Lafayette\miniconda3\lib\site-packages\WrightTools\data_join.py", line 199, in combine
vals[valid_index] = old[:].transpose(transpose)[slice_]

ValueError: axes don't match array
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions