ChimeraX Core module Issue
Dear ChimeraX Dev Team, I am currently in the process of developing a bundle for ChimeraX. I have clone the code from the git repository and made the necessary installations according to the documentation. But I have an issue with the location of the ChimeraX core module. I found that it's in the *ChimeraX > src > bundles > core > src* . But in most of the bundle codes it's located as a *chimerax.core * which gives me errors (screenshot is attached). Do I have to change the path to the above mentioned path or is there any other way I can locate the core module? Thank you Best regards Himal Godage
Hi Himal, In the ChimeraX source code at Github the ChimeraX core module code is found at chimerax/src/bundles/core/src https://github.com/RBVI/ChimeraX/tree/develop/src/bundles/core/src But in the distributed ChimeraX application the code files are not in the same directories as where they are found in the github repository, instead this would be found on Mac in ChimeraX.app/Contents/lib/python3.11/site-packages/chimerax/core and if it is used from another Python module it would be imported using from chimerax import core On Windows and Linux it will be found in a different location in the application since each operating system packages the code in a different directory structure. But importing the core module from other Python modules would always be the same (from chimerax import core). Tom
On Feb 23, 2024, at 7:20 PM, Himal Godage <himalgodage2759@gmail.com> wrote:
Dear ChimeraX Dev Team, I am currently in the process of developing a bundle for ChimeraX. I have clone the code from the git repository and made the necessary installations according to the documentation. But I have an issue with the location of the ChimeraX core module. I found that it's in the ChimeraX > src > bundles > core > src . But in most of the bundle codes it's located as a chimerax.core which gives me errors (screenshot is attached). Do I have to change the path to the above mentioned path or is there any other way I can locate the core module?
Thank you Best regards Himal Godage <core_issue.png>
participants (2)
-
Himal Godage
-
Tom Goddard