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

Not defined variable in e2spt_tempmatch.py #546

Open
thorstenwagner opened this issue Jul 22, 2022 · 4 comments
Open

Not defined variable in e2spt_tempmatch.py #546

thorstenwagner opened this issue Jul 22, 2022 · 4 comments

Comments

@thorstenwagner
Copy link
Contributor

In this line the not defined variable 'sz' is called:
https://github.com/cryoem/eman2/blob/master/programs/e2spt_tempmatch.py#L237

This leads to a crash of the program. Can someone point me to a fix?

@sludtke42
Copy link
Member

sludtke42 commented Jul 22, 2022 via email

@thorstenwagner
Copy link
Contributor Author

A workaround is to provide a boxsize, But I don't think it should crash with the default settings.

@thorstenwagner
Copy link
Contributor Author

thorstenwagner commented Jul 22, 2022

I think simply change line 237 to

boxsz=int(ref["ny"]*mbin)

should do the trick?

@sludtke42
Copy link
Member

sludtke42 commented Jul 22, 2022 via email

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

No branches or pull requests

2 participants