<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:53:07 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-434] ingestPfsImages.py fails when no pfsConfig is available</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-434</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;As reported by &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=sogo.mineo&quot; class=&quot;user-hover&quot; rel=&quot;sogo.mineo&quot;&gt;sogo.mineo&lt;/a&gt; in the #drp-2d slack channel: the above script should accept either a &lt;tt&gt;pfsConfig&lt;/tt&gt; or a &lt;tt&gt;pfsDesign&lt;/tt&gt; as input. In the case of the latter, it creates a new &lt;tt&gt;pfsConfig&lt;/tt&gt; that is used subsequently.&lt;/p&gt;

&lt;p&gt;However, following changes in &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/DAMD-49&quot; title=&quot;Clarify use of expId&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DAMD-49&quot;&gt;&lt;del&gt;DAMD-49&lt;/del&gt;&lt;/a&gt;, whenever a &lt;tt&gt;pfsDesign&lt;/tt&gt; is used (and there is no &lt;tt&gt;pfsConfig&lt;/tt&gt; present in the input data directory), the &lt;tt&gt;ingestPfsImages.py&lt;/tt&gt; script fails with an error related a non-existent &apos;visit&apos; dict keyword:&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;
$(which ingestPfsImages.py) run-002/INTEGRATION/ --mode=link run-002/drp_stella_data/raw/PFFA00000011.fits -c clobber=True register.ignore=True --pfsConfigDir=run-002/designDir/
CameraMapper INFO: Loading exposure registry from /Users/hassans/temp/IngestPfsImages-IntTest/run-002/INTEGRATION/registry.sqlite3
ingestPfs INFO: run-002/drp_stella_data/raw/PFFA00000011.fits --&amp;lt;link&amp;gt;--&amp;gt; /Users/hassans/temp/IngestPfsImages-IntTest/run-002/INTEGRATION/2019-03-22/PFFA000000b1.fits
Traceback (most recent call last):
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/Users/hassans/PFS/visualStudioCode/obs_pfs/python/lsst/obs/pfs/ingest.py&quot;&lt;/span&gt;, line 293, in runFile
    self.ingestPfsConfig(pfsConfigDir, hduInfoList[0], args)
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/Users/hassans/PFS/visualStudioCode/obs_pfs/python/lsst/obs/pfs/ingest.py&quot;&lt;/span&gt;, line 267, in ingestPfsConfig
    PfsConfig(**kwargs).write(dirName)
TypeError: __init__() got an unexpected keyword argument &lt;span class=&quot;code-quote&quot;&gt;&apos;visit&apos;&lt;/span&gt;
ingestPfs WARN: Failed to ingest file run-002/drp_stella_data/raw/PFFA00000011.fits: __init__() got an unexpected keyword argument &lt;span class=&quot;code-quote&quot;&gt;&apos;visit&apos;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;In the above example, the directory &lt;tt&gt;run-002/designDir&lt;/tt&gt; contains a &lt;tt&gt;pfsDesign&lt;/tt&gt; file, but not a &lt;tt&gt;pfsConfig&lt;/tt&gt; file.&lt;/p&gt;

&lt;p&gt;Following &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/DAMD-49&quot; title=&quot;Clarify use of expId&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DAMD-49&quot;&gt;&lt;del&gt;DAMD-49&lt;/del&gt;&lt;/a&gt;, the &lt;tt&gt;PfsConfig&lt;/tt&gt; class now requires a &apos;visit0&apos; keyword argument to be passed, not &apos;visit&apos;. Please fix.&lt;/p&gt;</description>
                <environment></environment>
        <key id="13612">PIPE2D-434</key>
            <summary>ingestPfsImages.py fails when no pfsConfig is available</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="hassan">hassan</assignee>
                                    <reporter username="hassan">hassan</reporter>
                        <labels>
                    </labels>
                <created>Mon, 10 Jun 2019 19:48:18 +0000</created>
                <updated>Mon, 10 Jun 2019 22:42:33 +0000</updated>
                            <resolved>Mon, 10 Jun 2019 22:42:33 +0000</resolved>
                                    <version>5.0.3</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                            <comment id="15640" author="hassan" created="Mon, 10 Jun 2019 22:42:33 +0000"  >&lt;p&gt;Fixed in 3cf07e8 (release 5.0.4)&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="13510">DAMD-49</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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|zx00jk:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="49">2DDRP-2019 E</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>