Skip to content
Snippets Groups Projects
Commit 75dc1c36 authored by nugget's avatar nugget
Browse files

Imports with absolute paths.

parent d6c2925e
No related branches found
No related tags found
3 merge requests!12v.0.1 for alpha release,!11Draft: Merge version0.1 changes into dev,!10Version0.1
Pipeline #735308 passed
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Create an identifier to print it on a plot. Create an identifier to print it on a plot.
Functions: Functions:
create_id(int) -> string create_id(str) -> string
""" """
import time import time
import uuid import uuid
......
...@@ -11,8 +11,8 @@ the function publish. ...@@ -11,8 +11,8 @@ the function publish.
import numpy as np import numpy as np
# import h5py as h5 # import h5py as h5
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
from plotid.tagplot import tagplot from src.plotid.tagplot import tagplot
from plotid.publish import publish from src.plotid.publish import publish
# %% Set Project ID # %% Set Project ID
PROJECT_ID = "MR04_" PROJECT_ID = "MR04_"
......
...@@ -15,7 +15,7 @@ import os ...@@ -15,7 +15,7 @@ import os
import shutil import shutil
import sys import sys
import warnings import warnings
import plotid.save_plot as save_plot from src.plotid.save_plot import save_plot
def publish(src_datapath, dst_path, figure, plot_name, data_storage): def publish(src_datapath, dst_path, figure, plot_name, data_storage):
......
...@@ -11,8 +11,8 @@ Functions: ...@@ -11,8 +11,8 @@ Functions:
""" """
import warnings import warnings
from plotid.plotoptions import PlotOptions from src.plotid.plotoptions import PlotOptions
from plotid.tagplot_matplotlib import tagplot_matplotlib from src.plotid.tagplot_matplotlib import tagplot_matplotlib
def tagplot(figs, engine, prefix='', id_method='time', location='east'): def tagplot(figs, engine, prefix='', id_method='time', location='east'):
......
...@@ -8,8 +8,8 @@ Functions: ...@@ -8,8 +8,8 @@ Functions:
import matplotlib import matplotlib
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
import plotid.create_id as create_id import src.plotid.create_id as create_id
from plotid.plotoptions import PlotOptions from src.plotid.plotoptions import PlotOptions
def tagplot_matplotlib(plotid_object): def tagplot_matplotlib(plotid_object):
......
...@@ -7,8 +7,8 @@ Unittests for TagPlot_matplotlib ...@@ -7,8 +7,8 @@ Unittests for TagPlot_matplotlib
import unittest import unittest
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
from matplotlib.figure import Figure from matplotlib.figure import Figure
from tagplot_matplotlib import tagplot_matplotlib from src.plotid.tagplot_matplotlib import tagplot_matplotlib
from plotoptions import PlotOptions from src.plotid.plotoptions import PlotOptions
FIG1 = plt.figure() FIG1 = plt.figure()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment