Skip to content

Commit

Permalink
Removed the log decorator feature that is not super useful and makes …
Browse files Browse the repository at this point in the history
…python > 3.10 crashes (#68)
  • Loading branch information
AlanLoh committed Feb 6, 2024
1 parent ade4174 commit c91fbf5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion nenupy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
__copyright__ = "Copyright 2023, nenupy"
__credits__ = ["Alan Loh"]
__license__ = "MIT"
__version__ = "2.6.7"
__version__ = "2.6.8"
__maintainer__ = "Alan Loh"
__email__ = "alan.loh@obspm.fr"

Expand Down
8 changes: 4 additions & 4 deletions nenupy/instru/interferometer.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
import dask.array as da
from dask.diagnostics import ProgressBar

from nenupy import LogMethodMetaClass, DummyCtMgr
# from nenupy import LogMethodMetaClass, DummyCtMgr
from nenupy.astro.sky import Sky
from nenupy.astro.astro_tools import sky_temperature
from nenupy.astro.pointing import Pointing
Expand All @@ -52,8 +52,8 @@
# ============================================================= #
# ---------------- Interferometer class errors ---------------- #
# ============================================================= #
class CombinedMeta(LogMethodMetaClass, ABCMeta):
""" Intermediate metaclass when inheriting from ABC. """
# class CombinedMeta(LogMethodMetaClass, ABCMeta):
# """ Intermediate metaclass when inheriting from ABC. """


class AntennaNameError(Exception):
Expand Down Expand Up @@ -173,7 +173,7 @@ class ObservingMode(Enum):
# ============================================================= #
# ---------------------- Interferometer ----------------------- #
# ============================================================= #
class Interferometer(ABC, metaclass=CombinedMeta):
class Interferometer(ABC):#, metaclass=CombinedMeta):
""" Abstract base class for all phased-array/interferometer classes.
.. rubric:: Attributes Summary
Expand Down

0 comments on commit c91fbf5

Please sign in to comment.