[yt-svn] commit/yt: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Mar 5 16:55:35 PST 2018
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/55185a9be5b1/
Changeset: 55185a9be5b1
User: Madicken Munk
Date: 2018-03-05 21:55:21+00:00
Summary: updating data structures classes to call super class with super function
Affected #: 1 file
diff -r 9846d524ffb39d07be1dbcb4f7e5f6ac7dc4c749 -r 55185a9be5b1b2b0b97b6c6a45219ab4a714b651 yt/frontends/_skeleton/data_structures.py
--- a/yt/frontends/_skeleton/data_structures.py
+++ b/yt/frontends/_skeleton/data_structures.py
@@ -30,7 +30,7 @@
_id_offset = 0
def __init__(self, id, index, level):
- AMRGridPatch.__init__(self, id, filename=index.index_filename,
+ super(SkeletonGrid, self).__init__(self, id, filename=index.index_filename,
index=index)
self.Parent = None
self.Children = []
@@ -51,7 +51,7 @@
self.directory = os.path.dirname(self.index_filename)
# float type for the simulation edges and must be float64 now
self.float_type = np.float64
- GridIndex.__init__(self, ds, dataset_type)
+ super(SkeletonHierarchy, self).__init__(self, ds, dataset_type)
def _detect_output_fields(self):
# This needs to set a self.field_list that contains all the available,
@@ -97,7 +97,7 @@
storage_filename=None,
units_override=None):
self.fluid_types += ('skeleton',)
- Dataset.__init__(self, filename, dataset_type,
+ super(SkeletonDataset, self).__init__(self, filename, dataset_type,
units_override=units_override)
self.storage_filename = storage_filename
# refinement factor between a grid and its subgrid
https://bitbucket.org/yt_analysis/yt/commits/e0670ccdac88/
Changeset: e0670ccdac88
User: ngoldbaum
Date: 2018-03-06 00:55:19+00:00
Summary: Merge pull request #1713 from munkm/skeleton_fixes
updating data structures classes to call super class with super function
Affected #: 1 file
diff -r 9846d524ffb39d07be1dbcb4f7e5f6ac7dc4c749 -r e0670ccdac88a06d99cd6eb11c602e2c86c3189b yt/frontends/_skeleton/data_structures.py
--- a/yt/frontends/_skeleton/data_structures.py
+++ b/yt/frontends/_skeleton/data_structures.py
@@ -30,7 +30,7 @@
_id_offset = 0
def __init__(self, id, index, level):
- AMRGridPatch.__init__(self, id, filename=index.index_filename,
+ super(SkeletonGrid, self).__init__(self, id, filename=index.index_filename,
index=index)
self.Parent = None
self.Children = []
@@ -51,7 +51,7 @@
self.directory = os.path.dirname(self.index_filename)
# float type for the simulation edges and must be float64 now
self.float_type = np.float64
- GridIndex.__init__(self, ds, dataset_type)
+ super(SkeletonHierarchy, self).__init__(self, ds, dataset_type)
def _detect_output_fields(self):
# This needs to set a self.field_list that contains all the available,
@@ -97,7 +97,7 @@
storage_filename=None,
units_override=None):
self.fluid_types += ('skeleton',)
- Dataset.__init__(self, filename, dataset_type,
+ super(SkeletonDataset, self).__init__(self, filename, dataset_type,
units_override=units_override)
self.storage_filename = storage_filename
# refinement factor between a grid and its subgrid
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