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

Relion5.0 tomo #1087

Open
nbcronin opened this issue Mar 1, 2024 · 12 comments
Open

Relion5.0 tomo #1087

nbcronin opened this issue Mar 1, 2024 · 12 comments

Comments

@nbcronin
Copy link

nbcronin commented Mar 1, 2024

Installed Relion5.0. with no problem. Runs with programs in the environment.yml (relion_blush; topaz etc)

Currently want to run relion --tomo ( Relion-5.0-beta-1-commit-b75b38) and get the error

---------------------------------- PYTHON ERROR ---------------------------------
Has RELION been provided a Python interpreter with the correct environment?
The interpreter can be passed to RELION either during Cmake configuration by
using the Cmake flag -DPYTHON_EXE_PATH=<path/to/python/interpreter>.

Using python executable: /opt/anaconda3/envs/relion-5.0/bin/python

ModuleNotFoundError: No module named 'tomography_python_programs'

The path for the python executable is correct - is there a module named tomography_python_programs?

Thanks

Nora

@nbcronin
Copy link
Author

nbcronin commented Mar 4, 2024

I can see the tomo programs are located - in a relion/src/tomography_python_programs - ie there an environment variable to point to this? Currently it is looking at the conda environment to locate the programs.

nora

@LIjieHan
Copy link

I'm having the same problem, did you figure out how to fix it?

@nbcronin
Copy link
Author

nbcronin commented Mar 21, 2024 via email

@Qiangong2
Copy link

The files are successfully made in the bin directory, but we still get the python error.

@nbcronin
Copy link
Author

nbcronin commented Mar 25, 2024 via email

@Qiangong2
Copy link

Hi @nbcronin, No, dynamight is functional, but the other tomo python programs do not. The conda paths are fine, Relion is able to find the correct python path during compilation and any other tools except for the tomo tools.

@Qiangong2
Copy link

@biochem-fan Any ideas?

@EricDeveaud
Copy link

hello,
had the same problem with relion-5.0 and found that among this python module some other are missing,
I fixed it by.

    # used by relion_python_tomo_align_tilt_series
    cd $(SOFT)/src && cp -r tomography_python_programs $(PYLIB)
    $(PIP) install makefun yet_another_imod_wrapper lil_aretomo
    # used by relion_python_tomo_get_particle_poses
    $(PIP) install morphosamplers
    # used by relion_python_tomo_pick
    $(PIP) install napari_threedee
    # used by relion_python_tomo_pick relion_python_tomo_view relion_python_tomo_exclude_tilt_images
    $(PIP) install lru-dict

NB installation performed out of conda.

@nbcronin
Copy link
Author

nbcronin commented Apr 22, 2024 via email

@Qiangong2
Copy link

Hi @nbcronin

Unfortunately, it still doesn't work.

---------------------------------- PYTHON ERROR ---------------------------------
   Has RELION been provided a Python interpreter with the correct environment?
   The interpreter can be passed to RELION either during Cmake configuration by
     using the Cmake flag -DPYTHON_EXE_PATH=<path/to/python/interpreter>.
---------------------------------------------------------------------------------

The above error appears specifically on relion_python_tomo_import, relion_python_tomo_denoise, relion_python_tomo_exclude_tilt_images, relion_python_modelangelo, relion_python_topaz, and relion_python_tomo_align_tilt_series. The other python tools are fine.

@biochem-fan Can you please provide an update on this?

@biochem-fan
Copy link
Member

@Qiangong2 I am not involved in the tomography aspect of RELION, so I cannot help.

@Qiangong2
Copy link

@Qiangong2 I am not involved in the tomography aspect of RELION, so I cannot help.

@biochem-fan Who is then?

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

5 participants