<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:59:01 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-860] ReduceExposure fails with extra linesList argument to subtractSky2d.run</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-860</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;As reported by @ncaplar in the #princeton-pfs slack channel today:&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;
As I briefly mentioned in 10am meeting, I am having some problems with reduceExposure. I wanted to first run sky2d subtraction on dcb data with 10 fibers, which previously worked. I ran reduceExposure.py /projects/HSC/PFS/Subaru --calib /projects/HSC/PFS/Subaru/CALIB-ncaplar --rerun /projects/HSC/PFS/Subaru/rerun/ncaplar/PIPE2D-857/ --id visit=34444 arm=r -c doMeasurePsf=True doSubtractSky2d=True doWriteCalexp=True subtractSky2d.useAllFibers=True, but I &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt; get an error which I have placed at:
https:&lt;span class=&quot;code-comment&quot;&gt;//gist.github.com/nevencaplar/0fa12a5987a162dac587048385b06d09 . I get the same error when trying to &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt; same on SuNNS data. I see that the number of arguments that self.subtractSky2d.run run takes has changed since March18, when is the last time I have in my records that we have been successfully running reduceExposure with 2d sky subtraction (and the fail error complains about number of arguments). &lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The last part of error stack trace is shown below:&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;
reduceExposure FATAL: Failed on dataIds=[{&lt;span class=&quot;code-quote&quot;&gt;&apos;visit&apos;&lt;/span&gt;: 34444, &lt;span class=&quot;code-quote&quot;&gt;&apos;arm&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;r&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;dateObs&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;2020-11-14&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;site&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;S&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;category&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;A&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;spectrograph&apos;&lt;/span&gt;: 1, &lt;span class=&quot;code-quote&quot;&gt;&apos;field&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;COMPARISON&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;ccd&apos;&lt;/span&gt;: 1, &lt;span class=&quot;code-quote&quot;&gt;&apos;filter&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;r&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;expTime&apos;&lt;/span&gt;: 35.0, &lt;span class=&quot;code-quote&quot;&gt;&apos;dataType&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;COMPARISON&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;taiObs&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;2020-11-14T02:54:04.652&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;pfsDesignId&apos;&lt;/span&gt;: 1099528409104, &lt;span class=&quot;code-quote&quot;&gt;&apos;slitOffset&apos;&lt;/span&gt;: 0.0}]: TypeError: run() takes 6 positional arguments but 7 were given
Traceback (most recent call last):
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/pipe_base/18.1.0/python/lsst/pipe/base/cmdLineTask.py&quot;&lt;/span&gt;, line 388, in __call__
    result = self.runTask(task, dataRef, kwargs)
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/pipe_base/18.1.0/python/lsst/pipe/base/cmdLineTask.py&quot;&lt;/span&gt;, line 447, 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;/tigress/HSC/PFS/stack/20190925/stack/miniconda3-4.5.12-1172c30/Linux64/drp_stella/w.2021.25/python/pfs/drp/stella/reduceExposure.py&quot;&lt;/span&gt;, line 259, in runDataRef
    fiberTraceList, detectorMapList, linesList)
TypeError: run() takes 6 positional arguments but 7 were given
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="16899">PIPE2D-860</key>
            <summary>ReduceExposure fails with extra linesList argument to subtractSky2d.run</summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/major.svg">Major</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="hassan">hassan</reporter>
                        <labels>
                    </labels>
                <created>Mon, 21 Jun 2021 18:26:40 +0000</created>
                <updated>Mon, 28 Jun 2021 23:35:32 +0000</updated>
                            <resolved>Mon, 28 Jun 2021 23:35:32 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="21552" author="ncaplar" created="Mon, 21 Jun 2021 20:23:09 +0000"  >&lt;p&gt;With the fix applied, the 2d sky subtraction passes. SuNSS examples at `/projects/HSC/PFS/Subaru/rerun/ncaplar/&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-857&quot; title=&quot;Apply sky subtraction, deduced from DCB to SuNNS data, for limited number of fibers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-857&quot;&gt;&lt;del&gt;PIPE2D-857&lt;/del&gt;&lt;/a&gt;_SuNSS` and DCB examples at `/projects/HSC/PFS/Subaru/rerun/ncaplar/&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-857&quot; title=&quot;Apply sky subtraction, deduced from DCB to SuNNS data, for limited number of fibers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-857&quot;&gt;&lt;del&gt;PIPE2D-857&lt;/del&gt;&lt;/a&gt;`&lt;/p&gt;</comment>
                            <comment id="21553" author="rhl" created="Mon, 21 Jun 2021 21:58:19 +0000"  >&lt;p&gt;Simple fixes, which Neven confirms to work at the mechanical level.&lt;/p&gt;</comment>
                            <comment id="21595" author="hassan" created="Mon, 28 Jun 2021 23:35:32 +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|zzs8a6:</customfieldvalue>

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

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

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