<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:03:00 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-1118] mergeArms fails to merge spectra from multiple spectrographs</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1118</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=rhl&quot; class=&quot;user-hover&quot; rel=&quot;rhl&quot;&gt;rhl&lt;/a&gt; and &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=takuji.yamashita&quot; class=&quot;user-hover&quot; rel=&quot;takuji.yamashita&quot;&gt;Takuji Yamashita&lt;/a&gt; have reported a bug in &lt;tt&gt;mergeArms.py&lt;/tt&gt; when multiple spectrographs are involved:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;After &lt;tt&gt;reduceExposure.py /work/drp --calib /work/drp/CALIB --output /work/rhl/rerun/rhl/2022-11 -c doAdjustDetectorMap=True doMeasureLines=True extractSpectra.doCrosstalk=False isr.doFlat=False --id visit=83244 arm=b^r spectrograph=1^3 -j 15&lt;/tt&gt; I failed to merge:&lt;br/&gt;
&lt;tt&gt;mergeArms.py /work/drp --calib /work/drp/CALIB --output /work/rhl/rerun/rhl/2022-11 --id visit=83244 arm=b^r&lt;/tt&gt; gave:&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-java&quot;&gt;
root INFO: Running: /home/rhl/PFS/drp/stella/bin/mergeArms.py /work/drp --calib /work/drp/CALIB --output /work/rhl/rerun/rhl/2022-11 --id visit=83244 arm=b^r --clobber-versions --clobber-config
mergeArms WARN: Set of fiberIds of LSFs != fiberIds &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; spectra:  Only in fiberId: {1, 3, 515, 137, 651, 273, 23, 417, 426, 45, 560, 184, 315, 316, 336, 84, 85, 86, 471, 601, 603, 92, 607, 229, 487, 367, 114, 382} (fixing)
mergeArms WARN: Set of fiberIds of LSFs != fiberIds &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; spectra:  Only in fiberId: {1, 3, 515, 137, 651, 273, 23, 417, 426, 45, 560, 184, 315, 316, 336, 84, 85, 86, 471, 601, 603, 92, 607, 229, 487, 367, 114, 382} (fixing)
mergeArms WARN: Set of fiberIds of LSFs != fiberIds &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; spectra:  Only in fiberId: {1924, 1669, 1684, 1303, 1817, 1945, 1439, 1953, 1575, 1588, 1728, 1347, 1862, 1486, 1618, 1638, 1773, 1394, 1909, 1531} (fixing)
mergeArms WARN: Set of fiberIds of LSFs != fiberIds &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; spectra:  Only in fiberId: {1924, 1669, 1684, 1303, 1817, 1945, 1439, 1953, 1575, 1588, 1728, 1347, 1862, 1486, 1618, 1638, 1773, 1394, 1909, 1531} (fixing)
Traceback (most recent call last):
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/work/stack_INFRA-312/stack/miniconda3-py38_4.9.2-3.0.0/Linux64/pipe_base/g590c34a36e+5da9528084/python/lsst/pipe/base/cmdLineTask.py&quot;&lt;/span&gt;, line 436, in __call__
    result = self.runTask(task, dataRef, kwargs)
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/work/stack_INFRA-312/stack/miniconda3-py38_4.9.2-3.0.0/Linux64/pipe_base/g590c34a36e+5da9528084/python/lsst/pipe/base/cmdLineTask.py&quot;&lt;/span&gt;, line 504, in runTask
    &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; task.runDataRef(dataRef, **kwargs)
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/home/rhl/PFS/drp/stella/python/pfs/drp/stella/mergeArms.py&quot;&lt;/span&gt;, line 293, in runDataRef
    results = self.run(spectra, pfsConfig, lsfList)
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/home/rhl/PFS/drp/stella/python/pfs/drp/stella/mergeArms.py&quot;&lt;/span&gt;, line 198, in run
    self.normalizeSpectra(allSpectra)
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/home/rhl/PFS/drp/stella/python/pfs/drp/stella/mergeArms.py&quot;&lt;/span&gt;, line 332, in normalizeSpectra
    &lt;span class=&quot;code-keyword&quot;&gt;assert&lt;/span&gt; all(np.all(ss.fiberId == fiberId) &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; ss in spectra)  # Consistent fibers
AssertionError
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;</description>
                <environment></environment>
        <key id="23132">PIPE2D-1118</key>
            <summary>mergeArms fails to merge spectra from multiple spectrographs</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="price">price</assignee>
                                    <reporter username="price">price</reporter>
                        <labels>
                    </labels>
                <created>Mon, 21 Nov 2022 14:49:12 +0000</created>
                <updated>Mon, 28 Nov 2022 21:50:03 +0000</updated>
                            <resolved>Mon, 28 Nov 2022 21:50:03 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="31823" author="price" created="Mon, 21 Nov 2022 17:26:13 +0000"  >&lt;p&gt;Fixed the assertion failure.&lt;/p&gt;</comment>
                            <comment id="31829" author="hassan" created="Wed, 23 Nov 2022 20:07:06 +0000"  >&lt;p&gt;Looks good.&lt;/p&gt;</comment>
                            <comment id="31847" author="price" created="Mon, 28 Nov 2022 21:50:03 +0000"  >&lt;p&gt;Merged.&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|zzsvlr:</customfieldvalue>

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

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