<html>
<head>
<!-- BaNnErBlUrFlE-HeAdEr-start -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
.pfptBannerTableMSO { padding: 0px 12px 5px 12px; width: 100%;border-radius:4px;border-top:4px solid #90a4ae;background-color:#D0D8DC; }
.pfptTitleMSO { color:#000000 !important;font-family: 'Arial', sans-serif !important;font-weight:bold !important;font-size:14px !important; }
.pfptSubtitleMSO { font-size:12px !important; font-family: 'Arial', sans-serif !important; }
.pfptButtonMSO { mso-padding-alt: 7.5px; padding: 7.5px; text-decoration: none; font-family: 'Arial', sans-serif !important; font-size: 14px; line-height: 40px; border-radius:2px; }
.pfptPrimaryButtonMSO {
border: 1.5px solid #666666; color: #000000;
}
.pfptBanner {
margin: 15px 14px 30px 14px;
padding: 8px 16px 8px 16px;
border-radius: 4px;
min-width: 200px;
background-color: #D0D8DC;
border-top: 4px solid #90a4ae;
}
.pfptBannerTitle {
color: #000000;
font-family: 'Arial', sans-serif;
font-size: 14px;
font-weight: bold;
line-height: 18px;
display: block;
}
.pfptBannerSubtitle {
color: #000000;
font-weight: normal;
font-family: 'Arial', sans-serif;
font-size: 12px;
line-height: 18px;
margin-top: 2px;
display: block;
}
.pfptButton {
display: inline-block;
font-family: 'Arial', sans-serif;
font-size: 14px;
font-weight: normal;
border-radius: 2px;
padding: 7.5px 16px;
margin: 3px 0 3px 16px;
white-space: nowrap;
width: fit-content;
}
.pfptPrimaryButton {
border: 1px solid #666666;
}
.pfptPrimaryButton:hover, .pfptPrimaryButton:focus {
background-color: #b4c1c7;
}
.pfptPrimaryButton:active {
background-color: #90a4ae;
}
.pfptMessageContainer {
display: inline-block;
margin: 0px 0px 1px 0px;
max-width: 600px;
}
.pfptButtonGroup {
float: right;
margin: 0px 0px 0px 16px;
text-align: right;
width: fit-content;
}
.pfptPreheader { display:none !important; visibility:hidden; mso-hide:all; font-size:1px; line-height:1px; max-height:0px; max-width:0px; opacity:0; overflow:hidden; }
</style>
<!-- BaNnErBlUrFlE-HeAdEr-end -->
<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">
<!-- BaNnErBlUrFlE-BoDy-start -->
<!-- Preheader Text : BEGIN -->
<span class="pfptPreheader" style="display:none !important;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;">
Dear Meng, Thanks for the guidance. I was getting other whitespaces into the file. i was using ms visual code to create the file earlier , then upon switching to notepad ++ i was able to get rid of the error. best,
</span>
<!-- Preheader Text : END -->
<!-- Email Banner : BEGIN -->
<span style="display:none !important;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerStart</span>
<!--[if ((ie)|(mso))]>
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="padding: 3px 0px 16px 0px; direction: ltr" lang="en"><tr><td>
<table class="pfptBannerTableMSO" border="0" cellspacing="0" cellpadding="0" style="padding: 0px 10px 5px 6px; width: 100%;border-radius:4px;border-top:4px solid #90a4ae;background-color:#D0D8DC;"><tr><td valign="top">
<table align="left" border="0" cellspacing="0" cellpadding="0" style="padding: 4px 8px 4px 8px">
<tr><td><span class="pfptTitleMSO" style="color:#000000 !important;font-family: 'Arial', sans-serif;font-weight:bold !important;font-size:14px !important; direction: ltr">
This Message Is From an External Sender
</span></td></tr>
<tr><td><span class="pfptSubtitleMSO" style="color:#000000 !important;font-weight:normal !important;font-family: 'Arial', sans-serif; font-size:12px !important; direction: ltr">
This message came from outside your organization.
</span></td></tr>
</table>
</td></tr></table>
</td></tr></table>
<![endif]-->
<![if !((ie)|(mso))]>
<div dir="ltr" lang="en" class="pfptBanner" style="margin:16px 0px 16px 0px; padding:8px 16px 8px 16px; border-radius: 4px; min-width: 200px;background-color: #D0D8DC; border-top: 4px solid #90a4ae;">
<div class="pfptMessageContainer" style="display: inline-block; margin: 0px 0px 1px 0px; max-width: 600px;">
<div class="pfptBannerTitle" style="color:#000000 !important;font-family: 'Arial', sans-serif !important;font-weight:bold !important;font-size:14px !important;line-height:18px;display:block;">
This Message Is From an External Sender
</div>
<div class="pfptBannerSubtitle" style="color:#000000 !important;font-weight:normal !important;font-family: 'Arial', sans-serif !important;font-size:12px !important;line-height:18px;margin-top:2px;display:block">
This message came from outside your organization.
</div>
</div>
</div>
<![endif]>
<div style="display:none !important;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerEnd</div>
<!-- Email Banner : END -->
<!-- BaNnErBlUrFlE-BoDy-end -->
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Dear Meng,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Thanks for the guidance.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I was getting other whitespaces into the file. i was using ms visual code to create the file earlier , then upon switching to notepad ++ i was able to get rid of the error.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
best,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
amith</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> Elaine Meng <meng@cgl.ucsf.edu><br>
<b>Sent:</b> Thursday, February 24, 2022 10:23 AM<br>
<b>To:</b> Rangarajan, Amith <Amith.Rangarajan@ucsf.edu><br>
<b>Cc:</b> ChimeraX Users Help <ChimeraX-users@cgl.ucsf.edu><br>
<b>Subject:</b> Re: [chimerax-users] correct format for attribute information file (.defattr)</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Amith,<br>
It is exactly what the error message says: the assignment lines (which start at line 12 of the file) are missing the initial tab. I.e. you have to put a tab in front of each column in these lines, as it says in the format description:<br>
<br>
<<a href="https://rbvi.ucsf.edu/chimerax/docs/user/formats/defattr.html">https://rbvi.ucsf.edu/chimerax/docs/user/formats/defattr.html</a>><br>
<br>
Maybe you are not familiar with tab? It is a key on the left side of the keyboard. It was used to indent paragraphs in the old days of typewriters.<br>
<br>
I hope this helps,<br>
Elaine<br>
-----<br>
Elaine C. Meng, Ph.D. <br>
UCSF Chimera(X) team<br>
Department of Pharmaceutical Chemistry<br>
University of California, San Francisco<br>
<br>
> On Feb 24, 2022, at 9:51 AM, Rangarajan, Amith via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:<br>
> <br>
> Dear All,<br>
> I am sorry , i hit send before completely explain the issue. I think it is a formatting issue on the defattr input file, which i am not able to identify.
<br>
> I have attached the input file as attachment. <br>
> Kindly review and suggest what could be done to fix the same.<br>
> thanks again for your support.,<br>
> best<br>
> amith<br>
> From: ChimeraX-users <chimerax-users-bounces@cgl.ucsf.edu> on behalf of Rangarajan, Amith via ChimeraX-users <chimerax-users@cgl.ucsf.edu><br>
> Sent: Thursday, February 24, 2022 9:47 AM<br>
> To: ChimeraX Users Help <ChimeraX-users@cgl.ucsf.edu><br>
> Subject: Re: [chimerax-users] correct format for attribute information file (.defattr)<br>
> <br>
> Hello everyone,<br>
> I am trying to add mutation counts as a attribute and use it to generate a map of hotspots on the protein .
<br>
> <br>
> I followed the format provided on chimerax documentation and i am getting this error :<br>
> <br>
> SyntaxError: Line 12 in KIT-mutations-count.defattr is either not of the form 'name: value' or is missing initial tab<br>
> <br>
> File "C:\Program Files\ChimeraX 1.3\bin\lib\site-packages\chimerax\std_commands\defattr.py", line 107, in defattr<br>
> raise SyntaxError("Line %d in %s is either not of the form 'name: value'"<br>
> <br>
> i am on windows 11 using chimerax 1.3.<br>
> thanks<br>
> amith<br>
> <KIT-mutations-count.defattr><br>
</div>
</span></font></div>
</body>
</html>