Skip to content

Commit

Permalink
hopefully resolved circular import issues
Browse files Browse the repository at this point in the history
  • Loading branch information
shanto268 committed Dec 23, 2023
1 parent 32b54f9 commit b18b060
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 14 deletions.
7 changes: 7 additions & 0 deletions docs/source/imports_test.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
imports\_test module
====================

.. automodule:: imports_test
:members:
:undoc-members:
:show-inheritance:
2 changes: 0 additions & 2 deletions squadds/calcs/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
from .qubit import *
from .transmon_cross import *
1 change: 0 additions & 1 deletion squadds/calcs/qubit.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from abc import ABC, abstractmethod
import pandas as pd

class QubitHamiltonian(ABC):
#TODO: make method names more general
Expand Down
3 changes: 0 additions & 3 deletions squadds/core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
from .utils import *
from .design_patterns import *
from .analysis import *
4 changes: 2 additions & 2 deletions squadds/core/analysis.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pandas as pd
from ..calcs import *
from ..calcs.transmon_cross import TransmonCrossHamiltonian
import seaborn as sns
from metrics import *
from .metrics import *
import matplotlib.pyplot as plt

"""
Expand Down
4 changes: 0 additions & 4 deletions squadds/database/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
from .utils import *
from .contributor import Contribute
from .checker import Checker
from .config import SQuADDS_DB_Config
2 changes: 1 addition & 1 deletion squadds/database/contributor.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from dotenv import load_dotenv
from ..core.globals import *
from ..core.utils import *
from ..database.checker import Checker
from .checker import Checker
from huggingface_hub import HfApi, HfFolder, login

load_dotenv(ENV_FILE_PATH)
Expand Down
1 change: 0 additions & 1 deletion squadds/interpolations/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
from .interpolator import Interpolator

0 comments on commit b18b060

Please sign in to comment.