<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:57:29 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-766] reduceExposure assumes that all visits have the same pfsConfig file</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-766</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;It is not going to be correct to assume that all visits passed to reduceExposure have the pfsConfig file. &#160;Please fix the code to handle this (the worst and simplest solution would be to check when the assumption is violated, but I think we should do better than that).&lt;/p&gt;</description>
                <environment></environment>
        <key id="15436">PIPE2D-766</key>
            <summary>reduceExposure assumes that all visits have the same pfsConfig file</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>Mon, 8 Mar 2021 07:12:42 +0000</created>
                <updated>Thu, 11 Mar 2021 21:08:10 +0000</updated>
                            <resolved>Thu, 11 Mar 2021 21:08:10 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="18774" author="price" created="Mon, 8 Mar 2021 15:53:10 +0000"  >&lt;p&gt;&lt;tt&gt;reduceExposure&lt;/tt&gt; is operating over all arms from all spectrographs of a single visit. These absolutely should all have the same &lt;tt&gt;pfsConfig&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="18785" author="rhl" created="Tue, 9 Mar 2021 16:46:10 +0000"  >&lt;p&gt;You can give it a list of visits, and it helpfully processes all of them. &#160;If this is not the intended behaviour we should discuss, and if we decide to stick with it add appropriate checks. &#160;I&apos;d rather fix the pfsConfig assumption.&lt;/p&gt;</comment>
                            <comment id="18788" author="price" created="Tue, 9 Mar 2021 16:55:42 +0000"  >&lt;p&gt;I don&apos;t think it&apos;s an assumption. There&apos;s only one pfsConfig for a visit, and so all arms for that visit have the same pfsConfig. The &lt;tt&gt;TaskRunner&lt;/tt&gt; &lt;a href=&quot;https://github.com/Subaru-PFS/drp_stella/blob/master/python/pfs/drp/stella/reduceExposure.py#L74-L82&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;ensures&lt;/a&gt; that it receives one visit at a time. Or are you concerned about running it from a python prompt, operating on what it&apos;s given in violation of the (admittedly not crystal clear) &lt;a href=&quot;https://github.com/Subaru-PFS/drp_stella/blob/master/python/pfs/drp/stella/reduceExposure.py#L152&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;docs&lt;/a&gt;?&lt;/p&gt;</comment>
                            <comment id="18832" author="rhl" created="Thu, 11 Mar 2021 15:46:28 +0000"  >&lt;p&gt;This one sounds like user error that we can close as mistaken (or do we have to use &quot;won&apos;t fix&quot;?).  Running from a notebook is my problem, although I&apos;d probably add a check that all the data being processed is indeed from the same visit.&lt;/p&gt;</comment>
                            <comment id="18838" author="price" created="Thu, 11 Mar 2021 18:50:16 +0000"  >&lt;p&gt;Added a check that all visits are the same.&lt;/p&gt;</comment>
                            <comment id="18840" author="hassan" created="Thu, 11 Mar 2021 21:05:44 +0000"  >&lt;p&gt;Approved with no further changes requested.&lt;/p&gt;</comment>
                            <comment id="18842" author="price" created="Thu, 11 Mar 2021 21:08:10 +0000"  >&lt;p&gt;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|zzs47y:zzzzz</customfieldvalue>

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

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

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