Skip to content
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

Input micrographs as file #47

Open
rfleiro opened this issue Apr 30, 2020 · 4 comments · May be fixed by #192
Open

Input micrographs as file #47

rfleiro opened this issue Apr 30, 2020 · 4 comments · May be fixed by #192

Comments

@rfleiro
Copy link

rfleiro commented Apr 30, 2020

Hi guys, great software :)

It would be great if topaz could take a file with a list of micrographs as input

Is this a possibility at all right now?

@tbepler
Copy link
Owner

tbepler commented Apr 30, 2020

At which stage? Topaz train accepts micrographs listed in an image list file. For downstream steps that expect micrographs to be listed on the command line (i.e. topaz extract), bash can do this for you using $(cat file.txt). For example,

topaz extract $(cat micrograph_list_file.txt)

will pass each line of "micrograph_list_file.txt" to topaz extract as a separate argument.

@rfleiro
Copy link
Author

rfleiro commented Apr 30, 2020

Thanks for the quick reply

I realise now I didn't specify. I was wondering if a list file could be provided for pre-process and denoising

I am indeed passing the input mics using a similar approach, thanks for the suggestion

@tbepler
Copy link
Owner

tbepler commented Apr 30, 2020

I'll add passing micrograph inputs through a file to the list for extra features to add in the future. If this is something you're interested in working on, I'd be happy to accept a pull request with this feature.

In the meantime, the bash approach above seems like the best way to deal with this.

@tbepler
Copy link
Owner

tbepler commented Oct 12, 2020

I added this in commit 752c140

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants