[yt-svn] commit/yt: 3 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Fri Oct 13 18:29:58 PDT 2017
3 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/7302a48b4ecc/
Changeset: 7302a48b4ecc
User: ngoldbaum
Date: 2017-09-25 21:28:09+00:00
Summary: remove references to overlap_proj in Dataset initialization
Affected #: 1 file
diff -r 92f604cded4654e4d63653cbec574dee30d11d68 -r 7302a48b4ecc6429ca8669b8506efe003b0eb93e yt/data_objects/static_output.py
--- a/yt/data_objects/static_output.py
+++ b/yt/data_objects/static_output.py
@@ -767,16 +767,6 @@
cname = cls.__name__
if cname.endswith("Base"): cname = cname[:-4]
self._add_object_class(name, cls)
- if not np.all(self.refine_by == 2) and hasattr(self, 'proj') and \
- hasattr(self, 'overlap_proj'):
- mylog.warning("Refine by something other than two: reverting to"
- + " overlap_proj")
- self.proj = self.overlap_proj
- if self.dimensionality < 3 and hasattr(self, 'proj') and \
- hasattr(self, 'overlap_proj'):
- mylog.warning("Dimensionality less than 3: reverting to"
- + " overlap_proj")
- self.proj = self.overlap_proj
self.object_types.sort()
def _add_object_class(self, name, base):
https://bitbucket.org/yt_analysis/yt/commits/395c111b5bee/
Changeset: 395c111b5bee
User: ngoldbaum
Date: 2017-09-25 21:51:57+00:00
Summary: remove bit about 'Base' in class name
Affected #: 1 file
diff -r 7302a48b4ecc6429ca8669b8506efe003b0eb93e -r 395c111b5bee4e225d8ba0d39f06ecc9c29857ee yt/data_objects/static_output.py
--- a/yt/data_objects/static_output.py
+++ b/yt/data_objects/static_output.py
@@ -764,8 +764,6 @@
setattr(self, name,
_unsupported_object(self, name))
continue
- cname = cls.__name__
- if cname.endswith("Base"): cname = cname[:-4]
self._add_object_class(name, cls)
self.object_types.sort()
https://bitbucket.org/yt_analysis/yt/commits/74079dda954f/
Changeset: 74079dda954f
User: ngoldbaum
Date: 2017-10-14 01:29:43+00:00
Summary: Merge pull request #1570 from ngoldbaum/rm-overlap-proj
[cleanup] Remove references to overlap_proj in Dataset initialization
Affected #: 1 file
diff -r 9f471ff74ee1af7c128169c9887f22b8f098c76c -r 74079dda954fc8dcab2ff2fdb28bd6580c2befdd yt/data_objects/static_output.py
--- a/yt/data_objects/static_output.py
+++ b/yt/data_objects/static_output.py
@@ -764,19 +764,7 @@
setattr(self, name,
_unsupported_object(self, name))
continue
- cname = cls.__name__
- if cname.endswith("Base"): cname = cname[:-4]
self._add_object_class(name, cls)
- if not np.all(self.refine_by == 2) and hasattr(self, 'proj') and \
- hasattr(self, 'overlap_proj'):
- mylog.warning("Refine by something other than two: reverting to"
- + " overlap_proj")
- self.proj = self.overlap_proj
- if self.dimensionality < 3 and hasattr(self, 'proj') and \
- hasattr(self, 'overlap_proj'):
- mylog.warning("Dimensionality less than 3: reverting to"
- + " overlap_proj")
- self.proj = self.overlap_proj
self.object_types.sort()
def _add_object_class(self, name, base):
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