brisvag / blik

Python tool for visualising and interacting with cryo-ET and subtomogram averaging data.
https://brisvag.github.io/blik/
GNU General Public License v3.0
23 stars 8 forks source link

problems in refactored io #59

Closed alisterburt closed 3 years ago

alisterburt commented 3 years ago

There are a couple of issues with the way the IO has been refactored, listing them here so I can try to fix them

alisterburt commented 3 years ago

it's also really not clear what the name_regex parameter actually does, how does it affect the way data is returned?

alisterburt commented 3 years ago

playing with this now, shifts are also not correctly parsed for rln3.1 star files. They default to 0 because we aren't looking for the right header

brisvag commented 3 years ago

I'll answer in order:

As for name regex: not a great name, I agree... it's supposed to be given to guess a name. For example, if my files are all called:

cool_thing_001_something_useless.star
cool_thing_002_something_useless.star

You can pass:

thing_\d{3}

And it will use thing_xxx that as a name identifier in napari for each thing. Not sure if that's "nice" but it's decent :P

brisvag commented 3 years ago

I see now what you mean by dynamo table files. I don't know when the confusion started, but I thought they were actual starfiles generated by dynamo that we were reading! Never noticed in previous versions that dynamotable was being called, somehowe :P

brisvag commented 3 years ago

Mostly closed by #60 and #62.