-
Notifications
You must be signed in to change notification settings - Fork 52
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
Running new recenter.py #6
Comments
Sorry to disappoint you, Rafael, but I haven't finished this code yet. I'll try and pick it up again soon, next week maybe. |
Duplicate of #1 |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have recently been attempting to run recenter.py (looks very handy with all the centring modes implemented now!). However, I have not been able to succesfully do so, and I am wondering if you could possibly provide an example of intended usage? I gave it a shot at centring based on 2D classes in the following way:
recenter.py --class-2d Class2D/mrcs_stack_with_2Dclasses.mrcs Class2D/data_star_file_with_rlnClassNumber.star test_recenter.star
Then got an error along the lines of
File "/csbdatalocal/ra3014/pyem/recenter.py", line 47, in main
com = Vec2f(*im.phase_cog()[:2])
NameError: global name 'Vec2f' is not defined
Which I got around by adding Vec2f to the imports from EMAN2. But now Im getting the following
Traceback (most recent call last):
File "/csbdatalocal/ra3014/pyem/recenter.py", line 104, in
sys.exit(main(args))
File "/csbdatalocal/ra3014/pyem/recenter.py", line 57, in main
for ptcl in star.rows:
File "/csb/home/ra3014/anaconda2/lib/python2.7/site-packages/pandas/core/generic.py", line 2744, in getattr
return object.getattribute(self, name)
AttributeError: 'DataFrame' object has no attribute 'rows'
Any help would be appreciated! Thanks a lot in advance!
The text was updated successfully, but these errors were encountered: