Skip to content

Commit

Permalink
Revert "Change name of HDFWriter to HDFWriterMixin"
Browse files Browse the repository at this point in the history
This reverts commit e36fd04.
  • Loading branch information
vg3095 committed Jun 20, 2017
1 parent e36fd04 commit 51a21bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tardis/io/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def check_equality(item1, item2):
return True


class HDFWriterMixin(object):
class HDFWriter(object):

@staticmethod
def to_hdf_util(path_or_buf, path, elements, complevel=9, complib='blosc'):
Expand Down
2 changes: 1 addition & 1 deletion tardis/model/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from tardis.util import quantity_linspace, element_symbol2atomic_number
from tardis.io.model_reader import read_density_file, read_abundances_file
from tardis.io.util import HDFWriterMixin
from tardis.io.util import HDFWriter as HDFWriterMixin
from density import HomologousDensity

logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion tardis/model/density.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import numpy as np

from tardis.util import quantity_linspace
from tardis.io.util import HDFWriterMixin
from tardis.io.util import HDFWriter as HDFWriterMixin

class HomologousDensity(HDFWriterMixin):
"""A class that holds an initial density and time
Expand Down

0 comments on commit 51a21bb

Please sign in to comment.