From 08276301f251e25eb66cce51c46edee6f19f9955 Mon Sep 17 00:00:00 2001 From: rasmusvt Date: Thu, 7 Apr 2022 17:11:14 +0200 Subject: [PATCH] Update imports to match new package name --- nafuma/electrochemistry/plot.py | 2 +- nafuma/plotting.py | 2 +- nafuma/test/test_auxillary.py | 2 +- nafuma/test/test_plotting.py | 2 +- nafuma/xrd/io.py | 2 +- nafuma/xrd/plot.py | 6 +++--- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/nafuma/electrochemistry/plot.py b/nafuma/electrochemistry/plot.py index 64b7115..df977a5 100644 --- a/nafuma/electrochemistry/plot.py +++ b/nafuma/electrochemistry/plot.py @@ -5,7 +5,7 @@ import pandas as pd import numpy as np import math -import beamtime.electrochemistry as ec +import nafuma.electrochemistry as ec def plot_gc(path, kind, options=None): diff --git a/nafuma/plotting.py b/nafuma/plotting.py index e8c5457..2233ab7 100644 --- a/nafuma/plotting.py +++ b/nafuma/plotting.py @@ -1,4 +1,4 @@ -import beamtime.auxillary as aux +import nafuma.auxillary as aux import matplotlib.pyplot as plt from matplotlib.ticker import (MultipleLocator) diff --git a/nafuma/test/test_auxillary.py b/nafuma/test/test_auxillary.py index 668b792..4cb9cd1 100644 --- a/nafuma/test/test_auxillary.py +++ b/nafuma/test/test_auxillary.py @@ -1,4 +1,4 @@ -import beamtime.auxillary as aux +import nafuma.auxillary as aux import os def test_swap_values(): diff --git a/nafuma/test/test_plotting.py b/nafuma/test/test_plotting.py index 8979bc1..e1af0b8 100644 --- a/nafuma/test/test_plotting.py +++ b/nafuma/test/test_plotting.py @@ -1,4 +1,4 @@ -import beamtime.plotting as btp +import nafuma.plotting as btp from cycler import cycler import itertools import numpy as np diff --git a/nafuma/xrd/io.py b/nafuma/xrd/io.py index fc5c292..b3f3951 100644 --- a/nafuma/xrd/io.py +++ b/nafuma/xrd/io.py @@ -9,7 +9,7 @@ import zipfile import xml.etree.ElementTree as ET -import beamtime.auxillary as aux +import nafuma.auxillary as aux def get_image_array(path): diff --git a/nafuma/xrd/plot.py b/nafuma/xrd/plot.py index 950a27f..8dd6a27 100644 --- a/nafuma/xrd/plot.py +++ b/nafuma/xrd/plot.py @@ -9,9 +9,9 @@ import math import ipywidgets as widgets from IPython.display import display -import beamtime.xrd as xrd -import beamtime.auxillary as aux -import beamtime.plotting as btp +import nafuma.xrd as xrd +import nafuma.auxillary as aux +import nafuma.plotting as btp def plot_diffractogram(data, options={}):