<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:33:47 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>[DAMD-56] Change pfsVisitHash formatting from %08x to 0x%016x</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/DAMD-56</link>
                <project id="10400" key="DAMD">Data Model</project>
                    <description>&lt;p&gt;Currently the above hash is truncated to 8 hex digits, zero-padded. Please correct to 16 hex digits, zero-padded.&lt;/p&gt;

&lt;p&gt;As mentioned by @rhl in a comment in &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/DAMD-8&quot; title=&quot;Object IDs need to be 64bits, so 16 hex digits&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DAMD-8&quot;&gt;&lt;del&gt;DAMD-8&lt;/del&gt;&lt;/a&gt;: also ensure that the hash component is preceded by &lt;tt&gt;0x&lt;/tt&gt; to indicate a hash, as specified in &lt;tt&gt;datamodel.txt&lt;/tt&gt;. This is not the case currently.&lt;/p&gt;</description>
                <environment></environment>
        <key id="13551">DAMD-56</key>
            <summary>Change pfsVisitHash formatting from %08x to 0x%016x</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, 6 May 2019 17:31:24 +0000</created>
                <updated>Thu, 23 May 2019 18:34:22 +0000</updated>
                            <resolved>Thu, 23 May 2019 18:34:22 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="15423" author="hassan" created="Tue, 7 May 2019 18:15:57 +0000"  >&lt;p&gt;With the version of the LSST slack used by the PFS (v16), there is a problem supplying 64 bit hashes to the butler. See attached log file run033.log .&lt;/p&gt;

&lt;p&gt;The problem can be reduced to the example 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;
&lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; lsst.daf.base as dafBase
ps = dafBase.PropertySet()
ps.set(&lt;span class=&quot;code-quote&quot;&gt;&apos;aa&apos;&lt;/span&gt;, 0x7fffffffffffffff)
ps.set(&lt;span class=&quot;code-quote&quot;&gt;&apos;bb&apos;&lt;/span&gt;, 0xffffffffffffffff)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The second &lt;tt&gt;set&lt;/tt&gt; call leads to the following error:&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;
Traceback (most recent call last):
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;&amp;lt;stdin&amp;gt;&quot;&lt;/span&gt;, line 1, in &amp;lt;module&amp;gt;
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/Users/hassans/LSST/stack/v16/stack/miniconda3-4.3.21-10a4fa6/DarwinX86/daf_base/16.0/python/lsst/daf/base/propertyContainer/propertyContainerContinued.py&quot;&lt;/span&gt;, line 193, in set
    &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; _propertyContainerSet(self, name, value, self._typeMenu)
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/Users/hassans/LSST/stack/v16/stack/miniconda3-4.3.21-10a4fa6/DarwinX86/daf_base/16.0/python/lsst/daf/base/propertyContainer/propertyContainerContinued.py&quot;&lt;/span&gt;, line 130, in _propertyContainerSet
    &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; getattr(container, &lt;span class=&quot;code-quote&quot;&gt;&quot;set&quot;&lt;/span&gt; + setType)(name, value, *args)
TypeError: setLongLong(): incompatible function arguments. The following argument types are supported:
    1. (self: lsst.daf.base.propertyContainer.propertySet.PropertySet, name: str, value: &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt;) -&amp;gt; None
    2. (self: lsst.daf.base.propertyContainer.propertySet.PropertySet, name: str, value: List[&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt;]) -&amp;gt; None

Invoked with: &amp;lt;lsst.daf.base.propertyContainer.propertySet.PropertySet object at 0x101cce3b0&amp;gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;bb&apos;&lt;/span&gt;, 18446744073709551615
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The conclusion of this is that we will proceed with &lt;b&gt;63 bits&lt;/b&gt; instead of 64 bits for the hash.&lt;/p&gt;</comment>
                            <comment id="15424" author="rhl" created="Tue, 7 May 2019 18:48:33 +0000"  >&lt;p&gt;This isn&apos;t a butler problem, it&apos;s a &lt;tt&gt;lsst.daf.base.PropertySet&lt;/tt&gt; problem.&lt;/p&gt;

&lt;p&gt;The fix should be made in &lt;tt&gt;python/pfs/datamodel/utils.py&lt;/tt&gt; and &lt;tt&gt;python/pfs/datamodel/target.py&lt;/tt&gt; (or probably we should refactor this to put the truncation in only one place)&lt;/p&gt;</comment>
                            <comment id="15503" author="hassan" created="Thu, 23 May 2019 18:34:22 +0000"  >&lt;p&gt;Merged to master (commit 470907c).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="13576">DAMD-57</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="13589">DAMD-58</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="10900">DAMD-4</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="11139">DAMD-8</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="11945" name="run033.log" size="975118" author="hassan" created="Tue, 7 May 2019 18:16:46 +0000"/>
                    </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|zx00bc:</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>