<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:50:40 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-293] Make matplotlib imports optional</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-293</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=fmadec&quot; class=&quot;user-hover&quot; rel=&quot;fmadec&quot;&gt;fmadec&lt;/a&gt; reports:&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;
[pfs@1cfe7a2b3699 ics_drpActor]$ export TARGET=/drp/lam
[pfs@1cfe7a2b3699 ics_drpActor]$  export RERUN=pfs
[pfs@1cfe7a2b3699 ics_drpActor]$ export batchArgs=&lt;span class=&quot;code-quote&quot;&gt;&quot;--batch-type=none --doraise&quot;&lt;/span&gt;
[pfs@1cfe7a2b3699 ics_drpActor]$ constructFiberFlat.py $TARGET --calib $TARGET/CALIB --rerun $RERUN/calib --id visit=9627..9692 $batchArgs
Traceback (most recent call last):
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/opt/lsst/software/stack/stack/miniconda3-4.3.21-10a4fa6/Linux64/drp_stella/1d712c3c7fd8146b89ce5b803da2e0ac5ef99ad7/bin/constructFiberFlat.py&quot;&lt;/span&gt;, line 2, in &amp;lt;module&amp;gt;
    from pfs.drp.stella.constructFiberFlatTask &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; ConstructFiberFlatTask
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/opt/lsst/software/stack/stack/miniconda3-4.3.21-10a4fa6/Linux64/drp_stella/1d712c3c7fd8146b89ce5b803da2e0ac5ef99ad7/python/pfs/drp/stella/__init__.py&quot;&lt;/span&gt;, line 3, in &amp;lt;module&amp;gt;
    from .spectraContinued &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; *
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/opt/lsst/software/stack/stack/miniconda3-4.3.21-10a4fa6/Linux64/drp_stella/1d712c3c7fd8146b89ce5b803da2e0ac5ef99ad7/python/pfs/drp/stella/spectraContinued.py&quot;&lt;/span&gt;, line 12, in &amp;lt;module&amp;gt;
    from pfs.datamodel.pfsArm &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; PfsArm, PfsConfig
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/opt/lsst/software/stack/stack/miniconda3-4.3.21-10a4fa6/Linux64/datamodel/264fb7b46bfa4c56f9c31e5b128850ba3f4a4776/python/pfs/datamodel/pfsArm.py&quot;&lt;/span&gt;, line 13, in &amp;lt;module&amp;gt;
    &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; matplotlib.pyplot as plt
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/software/conda/lib/python3.6/site-packages/matplotlib/pyplot.py&quot;&lt;/span&gt;, line 31, in &amp;lt;module&amp;gt;
    &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; matplotlib.colorbar
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/software/conda/lib/python3.6/site-packages/matplotlib/colorbar.py&quot;&lt;/span&gt;, line 36, in &amp;lt;module&amp;gt;
    &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; matplotlib.contour as contour
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/software/conda/lib/python3.6/site-packages/matplotlib/contour.py&quot;&lt;/span&gt;, line 20, in &amp;lt;module&amp;gt;
    &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; matplotlib.font_manager as font_manager
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/software/conda/lib/python3.6/site-packages/matplotlib/font_manager.py&quot;&lt;/span&gt;, line 55, in &amp;lt;module&amp;gt;
    from matplotlib &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; afm, cbook, ft2font, rcParams, get_cachedir
ImportError: /opt/lsst/software/stack/python/miniconda3-4.3.21/lib/python3.6/lib-dynload/../../libz.so.1: version `ZLIB_1.2.9&apos; not found (required by /software/conda/lib/python3.6/site-packages/matplotlib/../../.././libpng16.so.16)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The failure to &lt;tt&gt;import matplotlib&lt;/tt&gt; is not something I can do anything about (it seems to be from mixing &lt;tt&gt;conda&lt;/tt&gt;\ s), but I can make the &lt;tt&gt;import matplotlib&lt;/tt&gt; optional.&lt;/p&gt;</description>
                <environment></environment>
        <key id="12902">PIPE2D-293</key>
            <summary>Make matplotlib imports optional</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="price">price</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Oct 2018 15:39:33 +0000</created>
                <updated>Wed, 3 Oct 2018 01:44:16 +0000</updated>
                            <resolved>Wed, 3 Oct 2018 01:44:16 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                <comments>
                            <comment id="14113" author="price" created="Tue, 2 Oct 2018 16:06:58 +0000"  >&lt;p&gt;Does this look reasonable, &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;?&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;
price@neverland:~/pfs/datamodel (tickets/PIPE2D-293=) $ git sub
commit 8b6cb8a5298a946bd8df88d60a7149265800f84f
Author: Paul Price &amp;lt;price@astro.princeton.edu&amp;gt;
Date:   Tue Oct 2 11:52:59 2018 -0400

    pfsArm: make flake8-clean

 python/pfs/datamodel/pfsArm.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

commit b92d4e9fefb9d7181ffa045390702a30daa32b27
Author: Paul Price &amp;lt;price@astro.princeton.edu&amp;gt;
Date:   Tue Oct 2 11:57:01 2018 -0400

    pfsArm: make matplotlib optional
    
    matplotlib is only used &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; plotting, so there&apos;s no need
    to &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; it &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; general use.

 python/pfs/datamodel/pfsArm.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit a72e26e0ff21303a61d7517f0ffe0b16da87da5e
Author: Paul Price &amp;lt;price@astro.princeton.edu&amp;gt;
Date:   Tue Oct 2 12:03:59 2018 -0400

    pfsObject: make flake8-clean

 python/pfs/datamodel/pfsObject.py | 32 +++++++++++++++++---------------
 1 file changed, 17 insertions(+), 15 deletions(-)

commit 6c9569172a462b6802b26151681c46591bcb0f98
Author: Paul Price &amp;lt;price@astro.princeton.edu&amp;gt;
Date:   Tue Oct 2 12:04:24 2018 -0400

    pfsObject: make matplotlib optional
    
    matplotlib is only used &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; plotting, so there&apos;s no need
    to &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; it &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; general use.

 python/pfs/datamodel/pfsObject.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="14118" author="price" created="Wed, 3 Oct 2018 01:44:16 +0000"  >&lt;p&gt;Thanks Craig!&lt;/p&gt;

&lt;p&gt;Merged to master, along with a few small changes to the Travis scripts that maybe (???) made a difference in getting things to pass.&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|s00160:</customfieldvalue>

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

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