Installing ChimeraX bundle with none Python file
Hi, I am making a ChimeraX bundle. I need to read a csv file as template for the bundle. However, the template file (inside src folder) was not copied or added when installed. Is there anything that I should do to get it copied?
Hello, If you're using a bundle_info.xml, you should use the DataFiles and DataFile tags. Here's an example (directory instead of a file, but the spec is similar): https://github.com/QChASM/SEQCROW/blob/0c256be64ecf5d1c6cbf28d187f3a572f7322.... The documentation for all XML tags is here: https://www.cgl.ucsf.edu/chimerax/docs/devel/tutorials/bundle_info.html For the toml project file, I think package-data is the equivalent. Example: https://github.com/RBVI/ChimeraX/blob/3b75726b78f839428e699e1a4c00045494a3d0... Best, Tony On Sun, Dec 21, 2025 at 12:06 PM huybk81--- via ChimeraX-users < chimerax-users@cgl.ucsf.edu> wrote:
Hi, I am making a ChimeraX bundle. I need to read a csv file as template for the bundle. However, the template file (inside src folder) was not copied or added when installed. Is there anything that I should do to get it copied? _______________________________________________ ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/
It works perfectly. Thank you. On Sun, Dec 21, 2025 at 1:42 PM Tony Schaefer <tony.schaefer.chem@gmail.com> wrote:
Hello,
If you're using a bundle_info.xml, you should use the DataFiles and DataFile tags. Here's an example (directory instead of a file, but the spec is similar): https://github.com/QChASM/SEQCROW/blob/0c256be64ecf5d1c6cbf28d187f3a572f7322.... The documentation for all XML tags is here: https://www.cgl.ucsf.edu/chimerax/docs/devel/tutorials/bundle_info.html
For the toml project file, I think package-data is the equivalent. Example: https://github.com/RBVI/ChimeraX/blob/3b75726b78f839428e699e1a4c00045494a3d0...
Best,
Tony
On Sun, Dec 21, 2025 at 12:06 PM huybk81--- via ChimeraX-users < chimerax-users@cgl.ucsf.edu> wrote:
Hi, I am making a ChimeraX bundle. I need to read a csv file as template for the bundle. However, the template file (inside src folder) was not copied or added when installed. Is there anything that I should do to get it copied? _______________________________________________ ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/
participants (3)
-
Huy Bui -
huybk81@gmail.com -
Tony Schaefer