Skip to content

Commit

Permalink
[BC] fix relative imports
Browse files Browse the repository at this point in the history
  • Loading branch information
helene-t committed Jan 5, 2022
1 parent 1faff7e commit b6b633a
Show file tree
Hide file tree
Showing 14 changed files with 19 additions and 21 deletions.
2 changes: 1 addition & 1 deletion SciDataTool/GUI/DDataPlotter/DDataPlotter.ui
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
<customwidget>
<class>WPlotManager</class>
<extends>QWidget</extends>
<header>...GUI.WPlotManager.WPlotManager.h</header>
<header>SciDataTool.GUI.WPlotManager.WPlotManager.h</header>
<container>1</container>
</customwidget>
</customwidgets>
Expand Down
2 changes: 1 addition & 1 deletion SciDataTool/GUI/DDataPlotter/Ui_DDataPlotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from PySide2.QtGui import *
from PySide2.QtWidgets import *

from ...GUI.WPlotManager.WPlotManager import WPlotManager
from SciDataTool.GUI.WPlotManager.WPlotManager import WPlotManager


class Ui_DDataPlotter(object):
Expand Down
2 changes: 0 additions & 2 deletions SciDataTool/GUI/Tools/FloatEdit.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
from PySide2.QtGui import QDoubleValidator
from PySide2.QtWidgets import QLineEdit

# from ...GUI import gui_option

_float_re = compile(r"(([+-]?\d+(\.\d*)?|\.\d+)([eE][+-]?\d+)?)")


Expand Down
2 changes: 1 addition & 1 deletion SciDataTool/GUI/WAxisManager/Ui_WAxisManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from PySide2.QtGui import *
from PySide2.QtWidgets import *

from ...GUI.WAxisSelector.WAxisSelector import WAxisSelector
from SciDataTool.GUI.WAxisSelector.WAxisSelector import WAxisSelector


class Ui_WAxisManager(object):
Expand Down
2 changes: 1 addition & 1 deletion SciDataTool/GUI/WAxisManager/WAxisManager.ui
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
<customwidget>
<class>WAxisSelector</class>
<extends>QWidget</extends>
<header>...GUI.WAxisSelector.WAxisSelector.h</header>
<header>SciDataTool.GUI.WAxisSelector.WAxisSelector.h</header>
<container>1</container>
</customwidget>
</customwidgets>
Expand Down
2 changes: 1 addition & 1 deletion SciDataTool/GUI/WDataRange/Ui_WDataRange.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from PySide2.QtGui import *
from PySide2.QtWidgets import *

from ...GUI.Tools.FloatEdit import FloatEdit
from SciDataTool.GUI.Tools.FloatEdit import FloatEdit


class Ui_WDataRange(object):
Expand Down
2 changes: 1 addition & 1 deletion SciDataTool/GUI/WDataRange/WDataRange.ui
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
<customwidget>
<class>FloatEdit</class>
<extends>QLineEdit</extends>
<header>...GUI/Tools/FloatEdit.h</header>
<header>SciDataTool.GUI/Tools/FloatEdit.h</header>
</customwidget>
</customwidgets>
<resources/>
Expand Down
6 changes: 3 additions & 3 deletions SciDataTool/GUI/WPlotManager/Ui_WPlotManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
from PySide2.QtGui import *
from PySide2.QtWidgets import *

from ...GUI.WDataRange.WDataRange import WDataRange
from ...GUI.WAxisManager.WAxisManager import WAxisManager
from ...GUI.WVectorSelector.WVectorSelector import WVectorSelector
from SciDataTool.GUI.WDataRange.WDataRange import WDataRange
from SciDataTool.GUI.WAxisManager.WAxisManager import WAxisManager
from SciDataTool.GUI.WVectorSelector.WVectorSelector import WVectorSelector


class Ui_WPlotManager(object):
Expand Down
6 changes: 3 additions & 3 deletions SciDataTool/GUI/WPlotManager/WPlotManager.ui
Original file line number Diff line number Diff line change
Expand Up @@ -196,19 +196,19 @@
<customwidget>
<class>WDataRange</class>
<extends>QWidget</extends>
<header>...GUI.WDataRange.WDataRange.h</header>
<header>SciDataTool.GUI.WDataRange.WDataRange.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>WAxisManager</class>
<extends>QWidget</extends>
<header>...GUI.WAxisManager.WAxisManager.h</header>
<header>SciDataTool.GUI.WAxisManager.WAxisManager.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>WVectorSelector</class>
<extends>QWidget</extends>
<header>...GUI.WVectorSelector.WVectorSelector.h</header>
<header>SciDataTool.GUI.WVectorSelector.WVectorSelector.h</header>
<container>1</container>
</customwidget>
</customwidgets>
Expand Down
2 changes: 1 addition & 1 deletion SciDataTool/GUI/WSliceOperator/Ui_WSliceOperator.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from PySide2.QtGui import *
from PySide2.QtWidgets import *

from ...GUI.Tools.FloatEdit import FloatEdit
from SciDataTool.GUI.Tools.FloatEdit import FloatEdit


class Ui_WSliceOperator(object):
Expand Down
2 changes: 1 addition & 1 deletion SciDataTool/GUI/WSliceOperator/WSliceOperator.ui
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
<customwidget>
<class>FloatEdit</class>
<extends>QLineEdit</extends>
<header>...GUI/Tools/FloatEdit.h</header>
<header>SciDataTool.GUI/Tools/FloatEdit.h</header>
</customwidget>
</customwidgets>
<resources/>
Expand Down
4 changes: 2 additions & 2 deletions SciDataTool/Methods/Data/_set_normalizations.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from ...Functions.Load.import_class import import_class
from ...Classes._check import check_var
from SciDataTool.Functions.Load.import_class import import_class
from SciDataTool.Classes._check import check_var
from numpy import ndarray, int32, int64, float32, float64


Expand Down
2 changes: 1 addition & 1 deletion SciDataTool/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
from SciDataTool.Classes.Norm_indices import Norm_indices
from SciDataTool.Classes.Norm_ref import Norm_ref

__version__ = "2.0.1"
__version__ = "2.0.2"
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@

setuptools.setup(
name="SciDataTool",
version="2.0.1",
version="2.0.2",
author="Helene Toubin",
author_email="[email protected]",
description="Scientific Data Tool",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Eomys/SciDataTool",
download_url="https://github.com/Eomys/SciDataTool/archive/2.0.1.tar.gz",
download_url="https://github.com/Eomys/SciDataTool/archive/2.0.2.tar.gz",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit b6b633a

Please sign in to comment.