<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:02:26 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-1078] Improve error message from PfsDesign.selectFIber</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1078</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;Please improve the error message when a request fiberId is not present&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;
File ~/PFS/datamodel/python/pfs/datamodel/pfsConfig.py:820, in PfsDesign.selectFiber(self, fiberId)
    803 &quot;&quot;&quot;Select fiber(s) by fiber identifier
    804 
    805 Returns the indices &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; the provided fiber identifiers.
   (...)
    817     Indices &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; fibers.
    818 &quot;&quot;&quot;
    819 result = np.nonzero(np.isin(self.fiberId, fiberId))[0]
--&amp;gt; 820 &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; result.item() &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; np.isscalar(fiberId) &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; result

ValueError: can only convert an array of size 1 to a Python scalar &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="22955">PIPE2D-1078</key>
            <summary>Improve error message from PfsDesign.selectFIber</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="rhl">rhl</reporter>
                        <labels>
                    </labels>
                <created>Sat, 17 Sep 2022 14:42:09 +0000</created>
                <updated>Tue, 4 Oct 2022 20:00:18 +0000</updated>
                            <resolved>Tue, 4 Oct 2022 20:00:18 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="31540" author="hassan" created="Tue, 4 Oct 2022 19:58:10 +0000"  >&lt;p&gt;Suggested change in &lt;a href=&quot;https://github.com/Subaru-PFS/datamodel/pull/103&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/datamodel/pull/103&lt;/a&gt; to provide a clearer error message is fine.&lt;/p&gt;</comment>
                            <comment id="31541" author="price" created="Tue, 4 Oct 2022 20:00:18 +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|02qpjd:00r20064</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>