<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:40: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>[INSTRM-1864] Pass observing info from gen2 to pfsConfig</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-1864</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;ics_utils will grow a routine to generate a handful of FITS card for the pfsConfig PHDU. When creating pfsConfig files, retrieve that data and pass it to down to &lt;tt&gt;pfsConfig.write()&lt;/tt&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="23250">INSTRM-1864</key>
            <summary>Pass observing info from gen2 to pfsConfig</summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</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="arnaud.lefur">arnaud.lefur</assignee>
                                    <reporter username="cloomis">cloomis</reporter>
                        <labels>
                            <label>EngRun</label>
                    </labels>
                <created>Tue, 14 Feb 2023 21:16:17 +0000</created>
                <updated>Mon, 20 Feb 2023 21:27:15 +0000</updated>
                            <resolved>Mon, 20 Feb 2023 21:27:15 +0000</resolved>
                                                                    <component>ics_iicActor</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="32253" author="arnaud.lefur" created="Thu, 16 Feb 2023 20:26:04 +0000"  >&lt;p&gt;so &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt; report that cards will be created like this :&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;cards = getPfsConfigCards(actor, cmd, visit, date=None)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=price&quot; class=&quot;user-hover&quot; rel=&quot;price&quot;&gt;price&lt;/a&gt; Craig reports that would prefer this argument to be added directly in the constructor.&lt;br/&gt;
But I&apos;m actually using the copy method to create the &quot;per-visit&quot; pfsConfig file :&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;pfsConfig = pfsConfig0.copy(visit=visit)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So we would need to add this argument to this method, is that fine with you ?&lt;/p&gt;
</comment>
                            <comment id="32254" author="price" created="Thu, 16 Feb 2023 20:29:22 +0000"  >&lt;p&gt;That method takes &lt;tt&gt;**kwargs&lt;/tt&gt;, so I think you only need to update the constructor.&lt;/p&gt;</comment>
                            <comment id="32255" author="arnaud.lefur" created="Thu, 16 Feb 2023 20:35:19 +0000"  >&lt;p&gt;right but only for the keys in :&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;keywords = PfsConfig._keywords + PfsConfig._scalars + [&apos;fiberStatus&apos;]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;If we add the argument name to say PfsConfig_scalars that should indeed work.&lt;/p&gt;</comment>
                            <comment id="32256" author="price" created="Thu, 16 Feb 2023 20:45:00 +0000"  >&lt;p&gt;Yes, you absolutely need to add &lt;tt&gt;header&lt;/tt&gt; to &lt;tt&gt;&amp;#95;scalars&lt;/tt&gt;. And please be sure to add something to the tests as well.&lt;/p&gt;</comment>
                            <comment id="32257" author="cloomis" created="Thu, 16 Feb 2023 21:15:23 +0000"  >&lt;p&gt;I think these notes mostly belong in &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1163&quot; title=&quot;Allow adding FITS cards to pfsConfig PHDU&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-1163&quot;&gt;&lt;del&gt;PIPE2D-1163&lt;/del&gt;&lt;/a&gt;....&lt;/p&gt;</comment>
                            <comment id="32276" author="arnaud.lefur" created="Mon, 20 Feb 2023 21:27:15 +0000"  >&lt;p&gt;merged as iicActor:2.2.10&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="23249">INSTRM-1863</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|02qpjd:00r3000k0010v</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="159">PreEngRun10Feb</customfieldvalue>

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