<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Katie,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I'm not sure. I tried adding pdb-objects to one of my bundle's dependencies, and it was installed. I'm testing this on a ChimeraX 1.4 daily build.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
My bundle_info.xml has this:<br>
<div><span style="font-family: Consolas, Courier, monospace;"> <Dependencies></span></div>
<div><span style="font-family: Consolas, Courier, monospace;"> <Dependency name="ChimeraX-Core" version=">=1.2.dev"/></span></div>
<div><span style="font-family: Consolas, Courier, monospace;"> <Dependency name="pdb-objects"/></span></div>
<span style="font-family: Consolas, Courier, monospace;"> </Dependencies></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
and my log has this after installing (along with a bunch of other stuff):</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family:"Times New Roman";font-size:medium;orphans:2;widows:2;display:inline !important">Looking in indexes: https://pypi.org/simple, https://cxtoolshed.rbvi.ucsf.edu/pypi/</span><br>
<span style="font-family:"Times New Roman";font-size:medium;orphans:2;widows:2;display:inline !important">Processing c:\users\normn\documents\github\chimerax_themes\dist\chimerax_themes-0.3.1-py3-none-any.whl</span><br style="font-family:"Times New Roman";font-size:medium;orphans:2;widows:2">
<span style="font-family:"Times New Roman";font-size:medium;orphans:2;widows:2;display:inline !important">Requirement already satisfied: ChimeraX-Core>=1.2.dev in e:\chimerax 1.4.dev202202010639\bin\lib\site-packages (from ChimeraX-themes==0.3.1) (1.4.dev202202010639)</span><br style="font-family:"Times New Roman";font-size:medium;orphans:2;widows:2">
<span style="font-family:"Times New Roman";font-size:medium;orphans:2;widows:2;display:inline !important">Collecting pdb-objects</span><br style="font-family:"Times New Roman";font-size:medium;orphans:2;widows:2">
<span style="font-family:"Times New Roman";font-size:medium;orphans:2;widows:2;display:inline !important">Using cached pdb_objects-0.1.3-py3-none-any.whl (6.6 kB)</span><br style="font-family:"Times New Roman";font-size:medium;orphans:2;widows:2">
<span style="font-family:"Times New Roman";font-size:medium;orphans:2;widows:2;display:inline !important">Installing collected packages: pdb-objects, ChimeraX-themes</span><br style="font-family:"Times New Roman";font-size:medium;orphans:2;widows:2">
<span style="font-family:"Times New Roman";font-size:medium;orphans:2;widows:2;display:inline !important">Successfully installed ChimeraX-themes-0.3.1 pdb-objects-0.1.3</span><br style="font-family:"Times New Roman";font-size:medium;orphans:2;widows:2">
<span style="font-family:"Times New Roman";font-size:medium;orphans:2;widows:2;display:inline !important">---</span><br style="font-family:"Times New Roman";font-size:medium;orphans:2;widows:2">
<span style="font-family:"Times New Roman";font-size:medium;orphans:2;widows:2;display:inline !important">Successfully installed ChimeraX-themes-0.3.1 pdb-objects-0.1.3</span><br style="font-family:"Times New Roman";font-size:medium;orphans:2;widows:2">
<span style="font-family:"Times New Roman";font-size:medium;orphans:2;widows:2;display:inline !important">Installed ChimeraX-themes (0.3.1)</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Towards the bottom, it says it installed pdb-objects and my bundle. I can then go into the shell and import pdb_objects without error.
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Tony<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Zeng, Katie <jingrou.zeng18@imperial.ac.uk><br>
<b>Sent:</b> Monday, February 21, 2022 2:59 PM<br>
<b>To:</b> Anthony James Schaefer <tony.schaefer@uga.edu><br>
<b>Subject:</b> Re: Bundle dependency</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr"><font color="BA0C2F">[EXTERNAL SENDER - PROCEED CAUTIOUSLY]</font><br>
<br>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi Tony,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thanks for pointing that out. I've now changed the dependency to pdb-objects, but I still get the same error when I try to use the bundle in ChimeraX. Have you got any idea why it's giving this error?</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_Signature">
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Best Regards,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Katie</div>
</div>
</div>
</div>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Anthony James Schaefer <tony.schaefer@uga.edu><br>
<b>Sent:</b> 21 February 2022 17:57<br>
<b>To:</b> ChimeraX Users Help <chimerax-users@cgl.ucsf.edu>; Zeng, Katie <jingrou.zeng18@imperial.ac.uk><br>
<b>Subject:</b> Re: Bundle dependency</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<table class="x_x_MsoNormalTable" cellspacing="0" cellpadding="0" border="1" style="">
<tbody>
<tr style="">
<td style="border-top:#f0f0f0; border-right:#f0f0f0; background:#ffffcc; border-bottom:#f0f0f0; padding-bottom:0cm; padding-top:0cm; padding-left:0cm; border-left:#f0f0f0; padding-right:0cm">
<p class="x_x_MsoNormal" style="margin:0cm 0cm 0pt"><span style="font-size:12pt; font-family:"Arial",sans-serif"><font size="2">This email from tony.schaefer@uga.edu originates from outside Imperial. Do not click on links and attachments unless you recognise
the sender. If you trust the sender, add them to your <a href="https://spam.ic.ac.uk/SpamConsole/Senders.aspx">
safe senders list</a> to disable email stamping for this address. </font></span></p>
</td>
</tr>
</tbody>
</table>
<p> </p>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Katie,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
It looks like PDB objects on PyPI is called pdb-objects, not pdb_objects. For dependencies, ChimeraX looks for the package name and not the import name.<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
Best,
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Tony<br>
</div>
<div id="x_x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> ChimeraX-users <chimerax-users-bounces@cgl.ucsf.edu> on behalf of Zeng, Katie via ChimeraX-users <chimerax-users@cgl.ucsf.edu><br>
<b>Sent:</b> Monday, February 21, 2022 11:50 AM<br>
<b>To:</b> ChimeraX Users Help <chimerax-users@cgl.ucsf.edu><br>
<b>Subject:</b> [chimerax-users] Bundle dependency</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr"><font color="BA0C2F">[EXTERNAL SENDER - PROCEED CAUTIOUSLY]</font><br>
<br>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I'm currently working on building a membrane builder bundle and it requires the use of a python library called 'pdb_objects'.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Following the tutorial on the website, I'm adding the following line to my bundle_info.xml file
<span style="background-color:rgb(255,255,255); display:inline!important">under the dependencies tag</span>:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<div style="color:#d4d4d4; background-color:#1e1e1e; font-family:Consolas,'Courier New',monospace; font-weight:normal; font-size:14px; line-height:19px">
<span><span style="color:#808080"><</span><span style="color:#569cd6">Dependency</span><span> </span><span style="color:#9cdcfe">name</span><span>=</span><span style="color:#ce9178">"pdb_objects"</span><span style="color:#808080">/></span></span></div>
<br>
</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
It still gives me an error of <No module named 'pdb_objects'> when I load my bundle in ChimeraX. How can I allow the use of this library in my bundle?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_x_x_Signature">
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thanks for your help!</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Best Regards,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Katie</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>