[yt-svn] commit/yt: 3 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Apr 20 08:22:34 PDT 2017


3 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/e1aae3f6e3de/
Changeset:   e1aae3f6e3de
Branch:      yt
User:        brittonsmith
Date:        2017-04-19 23:33:14+00:00
Summary:     Adding deprecation warnings for analysis modules that have been moved to the yt attic.
Affected #:  4 files

diff -r 51546c15b6881696decb52bbd8d231855241c1df -r e1aae3f6e3de059e6a0bddc708d7213457c7557b yt/analysis_modules/halo_mass_function/api.py
--- a/yt/analysis_modules/halo_mass_function/api.py
+++ b/yt/analysis_modules/halo_mass_function/api.py
@@ -13,6 +13,14 @@
 # The full license is in the file COPYING.txt, distributed with this software.
 #-----------------------------------------------------------------------------
 
+from yt.funcs import issue_deprecation_warning
+
+issue_deprecation_warning(
+    "The halo_mass_function module does not function correctly and has been "
+    "deprecated. This code has been moved to the yt attic "
+    "(https://bitbucket.org/yt_analysis/yt_attic) and will be removed in a "
+    "future release.")
+
 from .halo_mass_function import \
     HaloMassFcn, \
     TransferFunction, \

diff -r 51546c15b6881696decb52bbd8d231855241c1df -r e1aae3f6e3de059e6a0bddc708d7213457c7557b yt/analysis_modules/star_analysis/api.py
--- a/yt/analysis_modules/star_analysis/api.py
+++ b/yt/analysis_modules/star_analysis/api.py
@@ -13,6 +13,13 @@
 # The full license is in the file COPYING.txt, distributed with this software.
 #-----------------------------------------------------------------------------
 
+from yt.funcs import issue_deprecation_warning
+
+issue_deprecation_warning(
+    "The star_analysis module has been deprecated. This code has been moved "
+    "to the yt attic (https://bitbucket.org/yt_analysis/yt_attic) and will "
+    "be removed in a future release.")
+
 from .sfr_spectrum import \
     StarFormationRate, \
     SpectrumBuilder, \

diff -r 51546c15b6881696decb52bbd8d231855241c1df -r e1aae3f6e3de059e6a0bddc708d7213457c7557b yt/analysis_modules/sunrise_export/api.py
--- a/yt/analysis_modules/sunrise_export/api.py
+++ b/yt/analysis_modules/sunrise_export/api.py
@@ -13,5 +13,10 @@
 # The full license is in the file COPYING.txt, distributed with this software.
 #-----------------------------------------------------------------------------
 
+issue_deprecation_warning(
+    "The sunrise_exporter module has been deprecated. This code has been "
+    "moved to the yt attic (https://bitbucket.org/yt_analysis/yt_attic) and "
+    "will be removed in a future release.")
+
 from .sunrise_exporter import \
     export_to_sunrise

diff -r 51546c15b6881696decb52bbd8d231855241c1df -r e1aae3f6e3de059e6a0bddc708d7213457c7557b yt/analysis_modules/two_point_functions/api.py
--- a/yt/analysis_modules/two_point_functions/api.py
+++ b/yt/analysis_modules/two_point_functions/api.py
@@ -13,6 +13,14 @@
 # The full license is in the file COPYING.txt, distributed with this software.
 #-----------------------------------------------------------------------------
 
+
+from yt.funcs import issue_deprecation_warning
+
+issue_deprecation_warning(
+    "The two_point_functions module has been deprecated. This code has been "
+    "moved to the yt attic (https://bitbucket.org/yt_analysis/yt_attic) and "
+    "will be removed in a future release.")
+
 from .two_point_functions import \
     TwoPointFunctions, \
     FcnSet


https://bitbucket.org/yt_analysis/yt/commits/bbe946dc3a4f/
Changeset:   bbe946dc3a4f
Branch:      yt
User:        brittonsmith
Date:        2017-04-19 23:37:54+00:00
Summary:     Adding deprecation notes to docs.
Affected #:  4 files

diff -r e1aae3f6e3de059e6a0bddc708d7213457c7557b -r bbe946dc3a4f9dc1a3afc9da7dbf160615064cf3 doc/source/analyzing/analysis_modules/halo_mass_function.rst
--- a/doc/source/analyzing/analysis_modules/halo_mass_function.rst
+++ b/doc/source/analyzing/analysis_modules/halo_mass_function.rst
@@ -1,5 +1,12 @@
 .. _halo_mass_function:
 
+.. note::
+
+   This module has been deprecated as it no longer functions correctly and is
+   unmaintained.  The code has been moved to the `yt attic
+   <https://bitbucket.org/yt_analysis/yt_attic>`__. If you'd like to take it
+   over, please do!
+
 Halo Mass Function
 ==================
 

diff -r e1aae3f6e3de059e6a0bddc708d7213457c7557b -r bbe946dc3a4f9dc1a3afc9da7dbf160615064cf3 doc/source/analyzing/analysis_modules/star_analysis.rst
--- a/doc/source/analyzing/analysis_modules/star_analysis.rst
+++ b/doc/source/analyzing/analysis_modules/star_analysis.rst
@@ -1,5 +1,11 @@
 .. _star_analysis:
 
+.. note::
+
+   This module has been deprecated as it is unmaintained.  The code has been
+   moved to the `yt attic <https://bitbucket.org/yt_analysis/yt_attic>`__.
+   If you'd like to take it over, please do!
+
 Star Particle Analysis
 ======================
 .. sectionauthor:: Stephen Skory <sskory at physics.ucsd.edu>

diff -r e1aae3f6e3de059e6a0bddc708d7213457c7557b -r bbe946dc3a4f9dc1a3afc9da7dbf160615064cf3 doc/source/analyzing/analysis_modules/sunrise_export.rst
--- a/doc/source/analyzing/analysis_modules/sunrise_export.rst
+++ b/doc/source/analyzing/analysis_modules/sunrise_export.rst
@@ -1,5 +1,11 @@
 .. _sunrise_export:
 
+.. note::
+
+   This module has been deprecated as it is unmaintained.  The code has been
+   moved to the `yt attic <https://bitbucket.org/yt_analysis/yt_attic>`__.
+   If you'd like to take it over, please do!
+
 Exporting to Sunrise
 ====================
 

diff -r e1aae3f6e3de059e6a0bddc708d7213457c7557b -r bbe946dc3a4f9dc1a3afc9da7dbf160615064cf3 doc/source/analyzing/analysis_modules/two_point_functions.rst
--- a/doc/source/analyzing/analysis_modules/two_point_functions.rst
+++ b/doc/source/analyzing/analysis_modules/two_point_functions.rst
@@ -1,5 +1,11 @@
 .. _two_point_functions:
 
+.. note::
+
+   This module has been deprecated as it is unmaintained.  The code has been
+   moved to the `yt attic <https://bitbucket.org/yt_analysis/yt_attic>`__.
+   If you'd like to take it over, please do!
+
 Two Point Functions
 ===================
 .. sectionauthor:: Stephen Skory <sskory at physics.ucsd.edu>


https://bitbucket.org/yt_analysis/yt/commits/778e9bf434b2/
Changeset:   778e9bf434b2
Branch:      yt
User:        brittonsmith
Date:        2017-04-19 23:41:03+00:00
Summary:     Add import.
Affected #:  1 file

diff -r bbe946dc3a4f9dc1a3afc9da7dbf160615064cf3 -r 778e9bf434b2fb8347c601606c602f2ab143040b yt/analysis_modules/sunrise_export/api.py
--- a/yt/analysis_modules/sunrise_export/api.py
+++ b/yt/analysis_modules/sunrise_export/api.py
@@ -13,6 +13,8 @@
 # The full license is in the file COPYING.txt, distributed with this software.
 #-----------------------------------------------------------------------------
 
+from yt.funcs import issue_deprecation_warning
+
 issue_deprecation_warning(
     "The sunrise_exporter module has been deprecated. This code has been "
     "moved to the yt attic (https://bitbucket.org/yt_analysis/yt_attic) and "

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list