Guilherme Pires

Results 11 comments of Guilherme Pires

have you had any luck in solving this?

@benad perfect! thanks a lot!

Also encountering issues, with snakemake `7.8.3`. I can tell the `S3Mocked` class requires a file `test.txt` to be present in the folder where `snakemake` is ran from, and that it...

Sorry, I mistyped the `get_image_data` example here. in my case the kwargs to that call are dynamic so I was just writing down an equivalent call to what I'm doing....

Also, on a tangent: this happens in the context of reading a .png from S3, which has 4 channels (RGBA). I'd expect the S dimension to be 1-dimensional and the...

An even more minimal example, with just numpy: ``` >>> import numpy as np >>> data = np.random.rand(1,1,1,20,10,4) >>> dim_specs = tuple([0,0,0,slice(None, None, None), slice(None, None, None), [0]]) >>> data[dim_specs].shape...

This seems to be the problem: https://stackoverflow.com/questions/35306372/implicit-transposing-in-numpy-array-indexing

Yeah this has to do with mixing simple and advanced numpy indexing. I think we might need to do the indexing in two steps like. For the case above, doing...

After tinkering a bit this is looking trickier than it may sound, and I might not have the bandwidth to help out at the moment...

Hey! I don't quite remember what I was doing when this problem arose but I believe it was just some example code. Whatever it was, I dropped it when I...