Gianluca Tomasello

Results 154 comments of Gianluca Tomasello

> Oh, if you want to do this for data returned by /cell, then it becomes a lot simpler. I thought you wanted to support this for MAP files. Sorry,...

@dsehnal I have made some progress In achieving what I wanted, there are some issues though. The volume seems stretched out in one direction as you can notice from this...

Thanks for the tips, I have made some changes, the stretching problem is still present though. >This looks like an issue with the axis order instead. Using `grid.cells.space.axisOrderSlowToFast` I reorder...

Thanks for the 2D scheme and additional information @dsehnal I was able to make some progress :) ![Image](https://github.com/user-attachments/assets/b9b23b75-15dd-49bc-b416-b0e3e964a383)

Now it should (hopefully) work for any type of box. There is still a small misalignment in the structure, though I'm not sure why. Could it be due to the...

> You need to snap the bounds to the grid (floor for low, ceil for high) instead of using the fractional coordinates directly. Oh.. I think I'm not sure how...

Thanks again @dsehnal, now I should be very close to the correct results. I am trying to find some example files to test this: ```ts if (grid.transform.kind !== 'spacegroup') {...

> If there isn't alignment that's a problem with the source data you should prolly report it. I reported this at RCSB. They told me that will make corrections. >For...

@dsehnal I am still having problems when working on volume server data. CCP4 files seems to be correctly processed and align with the structure in all tests I made so...