<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:41:42 JST 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>PFS-JIRA</title>
    <link>https://pfspipe.ipmu.jp/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.3.4</version>
        <build-number>803005</build-number>
        <build-date>13-09-2019</build-date>
    </build-info>


<item>
            <title>[INSTRM-1977] MCS did not use correct camera name when writing transformation </title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-1977</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
def writeTransformToDB(db, frameId, pfiTransform, cameraName):
    &quot;&quot;&quot;
    write transformation coefficients to database
    &quot;&quot;&quot;
    trans=pfiTransform.mcsDistort.getArgs()
    res = db.session.execute(&lt;span class=&quot;code-quote&quot;&gt;&apos;select * FROM &lt;span class=&quot;code-quote&quot;&gt;&quot;mcs_pfi_transformation&quot;&lt;/span&gt; where &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;&apos;&lt;/span&gt;)
    colnames = tuple(res.keys())
    realcolnames = colnames[0:]
    line = &lt;span class=&quot;code-quote&quot;&gt;&apos;%d,%f,%f,%f,%e,%e,%f,%s&apos;&lt;/span&gt; % (frameId, trans[0].astype(&lt;span class=&quot;code-quote&quot;&gt;&apos;float64&apos;&lt;/span&gt;),
           trans[1], trans[3], trans[4],trans[2],
           pfiTransform.alphaRot, &lt;span class=&quot;code-quote&quot;&gt;&apos;canon50M&apos;&lt;/span&gt;)
                                                                        
    buf = io.StringIO()
    buf.write(line)
    buf.seek(0, 0)
    _writeData(&lt;span class=&quot;code-quote&quot;&gt;&apos;mcs_pfi_transformation&apos;&lt;/span&gt;, realcolnames, buf)


    data = {&lt;span class=&quot;code-quote&quot;&gt;&apos;mcs_frame_id&apos;&lt;/span&gt;: [frameId],
            &lt;span class=&quot;code-quote&quot;&gt;&apos;x0&apos;&lt;/span&gt;: [trans[0]],
            &lt;span class=&quot;code-quote&quot;&gt;&apos;y0&apos;&lt;/span&gt;: [trans[1]],
            &lt;span class=&quot;code-quote&quot;&gt;&apos;dscale&apos;&lt;/span&gt;: [trans[2]],
            &lt;span class=&quot;code-quote&quot;&gt;&apos;scale2&apos;&lt;/span&gt;: [trans[3]],
            &lt;span class=&quot;code-quote&quot;&gt;&apos;theta&apos;&lt;/span&gt;: [trans[4]],
            &lt;span class=&quot;code-quote&quot;&gt;&apos;alpha_rot&apos;&lt;/span&gt;: [pfiTransform.alphaRot],
            &lt;span class=&quot;code-quote&quot;&gt;&apos;camera_name&apos;&lt;/span&gt;: [cameraName]}
    df = pd.DataFrame(data=data)
    &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; df[&lt;span class=&quot;code-quote&quot;&gt;&apos;mcs_frame_id&apos;&lt;/span&gt;].values,df[&lt;span class=&quot;code-quote&quot;&gt;&apos;x0&apos;&lt;/span&gt;].values,df[&lt;span class=&quot;code-quote&quot;&gt;&apos;y0&apos;&lt;/span&gt;].values,df[&lt;span class=&quot;code-quote&quot;&gt;&apos;dscale&apos;&lt;/span&gt;].values, \
        df[&lt;span class=&quot;code-quote&quot;&gt;&apos;scale2&apos;&lt;/span&gt;].values,df[&lt;span class=&quot;code-quote&quot;&gt;&apos;theta&apos;&lt;/span&gt;].values,df[&lt;span class=&quot;code-quote&quot;&gt;&apos;alpha_rot&apos;&lt;/span&gt;].values,df[&lt;span class=&quot;code-quote&quot;&gt;&apos;camera_name&apos;&lt;/span&gt;].values

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="23432">INSTRM-1977</key>
            <summary>MCS did not use correct camera name when writing transformation </summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</type>
                                            <priority id="10000" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/medium.svg">Normal</priority>
                        <status id="10002" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="The issue is resolved, reviewed, and merged">Done</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="chyan">chyan</assignee>
                                    <reporter username="chyan">chyan</reporter>
                        <labels>
                    </labels>
                <created>Fri, 12 May 2023 03:15:45 +0000</created>
                <updated>Fri, 12 May 2023 07:35:42 +0000</updated>
                            <resolved>Fri, 12 May 2023 07:35:42 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                <comments>
                            <comment id="32669" author="chyan" created="Fri, 12 May 2023 07:35:35 +0000"  >&lt;p&gt;Fixed and tested.  Merged to master.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|zzsx5b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>