Skip to content

Commit

Permalink
doing relative imports to see if this fixes the doc site generation i…
Browse files Browse the repository at this point in the history
…ssue
  • Loading branch information
shanto268 committed Dec 23, 2023
1 parent 47892b0 commit bbdc08a
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion squadds/calcs/transmon_cross.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import numpy as np
import matplotlib.pyplot as plt
import scqubits as scq
from calcs.qubit import QubitHamiltonian
from .qubit import QubitHamiltonian
from scqubits.core.transmon import Transmon
from pyEPR.calcs import Convert
from scipy.constants import e, h, hbar
Expand Down
2 changes: 1 addition & 1 deletion squadds/core/analysis.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pandas as pd
from squadds.calcs import *
from ..calcs import *
import seaborn as sns
from metrics import *
import matplotlib.pyplot as plt
Expand Down
4 changes: 2 additions & 2 deletions squadds/core/db.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from design_patterns import SingletonMeta
from .design_patterns import SingletonMeta
from datasets import get_dataset_config_names
from datasets import load_dataset
from tabulate import tabulate
import pprint
import pandas as pd
from utils import *
from .utils import *

class SQuADDS_DB(metaclass=SingletonMeta):

Expand Down
2 changes: 1 addition & 1 deletion squadds/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import getpass
import os
from huggingface_hub import HfApi, HfFolder
from globals import ENV_FILE_PATH
from .globals import ENV_FILE_PATH
import pandas as pd
import numpy as np

Expand Down
6 changes: 3 additions & 3 deletions squadds/database/contributor.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

from datetime import datetime
from dotenv import load_dotenv
from squadds.core.globals import *
from squadds.core.utils import *
from squadds.database.checker import Checker
from ..core.globals import *
from ..core.utils import *
from ..database.checker import Checker
from huggingface_hub import HfApi, HfFolder, login

load_dotenv(ENV_FILE_PATH)
Expand Down
2 changes: 1 addition & 1 deletion squadds/database/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Utilities for the database package."""
from pathlib import Path
from squadds.core.globals import *
from ..core.globals import *

import json
import hashlib
Expand Down
2 changes: 1 addition & 1 deletion squadds/interpolations/interpolator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from abc import ABC, abstractmethod
from squadds.core import Analyzer
from ..core import Analyzer
import pandas as pd

class Interpolator(ABC):
Expand Down
6 changes: 3 additions & 3 deletions squadds/interpolations/physics.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from squadds.interpolations import Interpolator
from .interpolator import Interpolator
import pandas as pd
from squadds.calcs import *
from squadds.core import *
from ..calcs import *
from ..core import *
from pyEPR.calcs import Convert

def string_to_float(string):
Expand Down

0 comments on commit bbdc08a

Please sign in to comment.