<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:58:28 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>[PIPE2D-820] SpectrumSet.makeImage assumes that SpectrumSet and FiberTraceSet are aligned </title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-820</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;There&apos;s a bug in the book-keeping in &lt;tt&gt;SpectrumSet.makeImage&lt;/tt&gt;:&lt;/p&gt;
&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-python&quot;&gt;
&lt;span class=&quot;code-keyword&quot;&gt;assert&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;len&lt;/span&gt;(&lt;span class=&quot;code-keyword&quot;&gt;self&lt;/span&gt;) == &lt;span class=&quot;code-object&quot;&gt;len&lt;/span&gt;(&lt;span class=&quot;code-keyword&quot;&gt;self&lt;/span&gt;), &lt;span class=&quot;code-quote&quot;&gt;&quot;Number of spectra &lt;span class=&quot;code-keyword&quot;&gt;and&lt;/span&gt; fiberTraces don&apos;t match&quot;&lt;/span&gt; &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;(&lt;tt&gt;self&lt;/tt&gt; appears twice) which means that the code accepts being passed a set of &lt;tt&gt;fiberTraces&lt;/tt&gt; that doesn&apos;t match the spectra; this happens when there are broken fibres (think SuNSS); (&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-819&quot; title=&quot;fiberProfiles should contain an entry for every fibre in pfsConfig for that spectrograph&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-819&quot;&gt;&lt;del&gt;PIPE2D-819&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;Furthermore, the code assumes that the order of fibres in &lt;tt&gt;SpectrumSet&lt;/tt&gt; and &lt;tt&gt;FiberTraceSet&lt;/tt&gt; are the same; is that guaranteed? It might be safer to switch to&lt;/p&gt;
&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-python&quot;&gt;
fiberIds = &lt;span class=&quot;code-object&quot;&gt;list&lt;/span&gt;(&lt;span class=&quot;code-keyword&quot;&gt;self&lt;/span&gt;.getAllFiberIds())
&lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; ft &lt;span class=&quot;code-keyword&quot;&gt;in&lt;/span&gt; fiberTraces:
    spec = &lt;span class=&quot;code-keyword&quot;&gt;self&lt;/span&gt;[fiberIds.index(ft.fiberId)]
    fiberImage = ft.constructImage(spec)
    image[fiberImage.getBBox(), afwImage.PARENT] += fiberImage
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="15568">PIPE2D-820</key>
            <summary>SpectrumSet.makeImage assumes that SpectrumSet and FiberTraceSet are aligned </summary>
                <type id="10001" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10515&amp;avatarType=issuetype">Story</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="rhl">rhl</assignee>
                                    <reporter username="rhl">rhl</reporter>
                        <labels>
                    </labels>
                <created>Fri, 23 Apr 2021 20:24:10 +0000</created>
                <updated>Tue, 4 May 2021 13:18:14 +0000</updated>
                            <resolved>Tue, 4 May 2021 13:18:14 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                <comments>
                            <comment id="19211" author="rhl" created="Fri, 23 Apr 2021 21:09:47 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/Subaru-PFS/drp_stella/pull/190&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/drp_stella/pull/190&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="19215" author="price" created="Mon, 26 Apr 2021 15:30:27 +0000"  >&lt;p&gt;Good catch, thanks.&lt;/p&gt;</comment>
                            <comment id="19258" author="hassan" created="Tue, 4 May 2021 13:18:14 +0000"  >&lt;p&gt;Changes merged to master a week ago, so assume this ticket can be closed. If that is not the case, please reopen or file a new ticket.&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|02qpt6:508yl0chzzy000009b</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10100" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Reviewers</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>price</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="105">2DDRP-2021 A 4</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>