Skip to content

Commit

Permalink
change to relative import
Browse files Browse the repository at this point in the history
  • Loading branch information
prakaa committed Sep 27, 2022
1 parent 23f80b6 commit a794cf9
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion nemosis/custom_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from datetime import timedelta, datetime
import math
import numpy as np
from nemosis import defaults, data_fetch_methods, filters
from . import defaults, data_fetch_methods, filters


def fcas4s_scada_match(
Expand Down
12 changes: 6 additions & 6 deletions nemosis/data_fetch_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
import glob as _glob
import pandas as _pd
from datetime import datetime as _datetime
from nemosis import filters as _filters
from nemosis import downloader as _downloader
from nemosis import processing_info_maps as _processing_info_maps
from nemosis import defaults as _defaults
from nemosis import custom_tables as _custom_tables
from nemosis.custom_errors import UserInputError, NoDataToReturn, DataMismatchError
from . import filters as _filters
from . import downloader as _downloader
from . import processing_info_maps as _processing_info_maps
from . import defaults as _defaults
from . import custom_tables as _custom_tables
from .custom_errors import UserInputError, NoDataToReturn, DataMismatchError


def dynamic_data_compiler(
Expand Down
2 changes: 1 addition & 1 deletion nemosis/date_generators.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import logging
from nemosis import defaults
from . import defaults
from calendar import monthrange
from datetime import timedelta

Expand Down
2 changes: 1 addition & 1 deletion nemosis/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import io
import pandas as pd

from nemosis import defaults, custom_errors
from . import defaults, custom_errors


# Windows Chrome for User-Agent request headers
Expand Down
6 changes: 3 additions & 3 deletions nemosis/gui.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from nemosis import rows
from nemosis import defaults
from nemosis import data_fetch_methods
from . import rows
from . import defaults
from . import data_fetch_methods
import pandas as pd
import tkinter as tk
import tkinter.ttk as ttk
Expand Down
2 changes: 1 addition & 1 deletion nemosis/query_wrappers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pandas as pd
from datetime import datetime, timedelta
from nemosis import defaults
from . import defaults


def dispatch_date_setup(start_time, end_time):
Expand Down
2 changes: 1 addition & 1 deletion nemosis/rows.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import tkinter as tk
import tkinter.ttk as ttk
from nemosis import defaults
from . import defaults


class Query:
Expand Down

0 comments on commit a794cf9

Please sign in to comment.