Skip to content

Commit 0509b0e

Browse files
committed
Merge branch 'lowercase-module-names'
* rename all modules to lowercase Close #41.
2 parents 4597767 + 7929a89 commit 0509b0e

35 files changed

+39
-39
lines changed

src/diffpy/pdfgui/applications/pdfgui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def main():
113113
# bail out when no gui is needed
114114
if not proceed: sys.exit()
115115
# initialize gui
116-
import diffpy.pdfgui.gui.Main as guimain
116+
import diffpy.pdfgui.gui.main as guimain
117117
# Catch control errors, that may happen during project
118118
# loading, before the GUI gets running
119119
from diffpy.pdfgui.control.controlerrors import ControlError

src/diffpy/pdfgui/gui/bondlengthdialog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# generated by wxGlade 0.9.3 on Fri Jul 19 16:00:05 2019
1818

1919
import wx
20-
from diffpy.pdfgui.gui.wxExtensions.validators import TextValidator, FLOAT_ONLY
20+
from diffpy.pdfgui.gui.wxextensions.validators import TextValidator, FLOAT_ONLY
2121

2222
# begin wxGlade: extracode
2323
# end wxGlade

src/diffpy/pdfgui/gui/calculationpanel.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
# generated by wxGlade 0.9.3 on Fri Jul 19 16:00:20 2019
1818

1919
import wx
20-
from diffpy.pdfgui.gui.wxExtensions.validators import TextValidator, FLOAT_ONLY
21-
from diffpy.pdfgui.gui.wxExtensions.textctrlutils import textCtrlAsGridCell
20+
from diffpy.pdfgui.gui.wxextensions.validators import TextValidator, FLOAT_ONLY
21+
from diffpy.pdfgui.gui.wxextensions.textctrlutils import textCtrlAsGridCell
2222
from diffpy.pdfgui.gui.pdfpanel import PDFPanel
2323

2424
class CalculationPanel(wx.Panel, PDFPanel):
@@ -147,7 +147,7 @@ def __customProperties(self):
147147
return
148148

149149
# Create the onTextCtrlKey event handler from textCtrlAsGridCell from
150-
# wxExtensions.textctrlutils
150+
# wxextensions.textctrlutils
151151
onTextCtrlKey = textCtrlAsGridCell
152152

153153
def setConfigurationData(self):

src/diffpy/pdfgui/gui/datasetconfigurepanel.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
# generated by wxGlade 0.9.3 on Fri Jul 19 16:00:35 2019
1818

1919
import wx
20-
from diffpy.pdfgui.gui.wxExtensions.validators import TextValidator, FLOAT_ONLY
20+
from diffpy.pdfgui.gui.wxextensions.validators import TextValidator, FLOAT_ONLY
2121
from diffpy.pdfgui.gui.pdfpanel import PDFPanel
2222
from diffpy.pdfgui.gui import tooltips
23-
from diffpy.pdfgui.gui.wxExtensions.textctrlutils import textCtrlAsGridCell
23+
from diffpy.pdfgui.gui.wxextensions.textctrlutils import textCtrlAsGridCell
2424

2525
class DataSetConfigurePanel(wx.Panel, PDFPanel):
2626
def __init__(self, *args, **kwds):
@@ -187,7 +187,7 @@ def __customProperties(self):
187187
return
188188

189189
# Create the onTextCtrlKey event handler from textCtrlAsGridCell from
190-
# wxExtensions.textctrlutils
190+
# wxextensions.textctrlutils
191191
onTextCtrlKey = textCtrlAsGridCell
192192

193193
def setConfigurationData(self):

src/diffpy/pdfgui/gui/datasetconstraintpanel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from diffpy.pdfgui.gui.pdfpanel import PDFPanel
2121
from diffpy.pdfgui.gui import tooltips
2222
from diffpy.pdfgui.control.constraint import Constraint
23-
from diffpy.pdfgui.gui.wxExtensions.textctrlutils import textCtrlAsGridCell
23+
from diffpy.pdfgui.gui.wxextensions.textctrlutils import textCtrlAsGridCell
2424

2525
class DataSetConstraintPanel(wx.Panel, PDFPanel):
2626
def __init__(self, *args, **kwds):
@@ -93,7 +93,7 @@ def __customProperties(self):
9393
return
9494

9595
# Create the onTextCtrlKey event handler from textCtrlAsGridCell from
96-
# wxExtensions.textctrlutils
96+
# wxextensions.textctrlutils
9797
onTextCtrlKey = textCtrlAsGridCell
9898

9999
def setConstraintsData(self):

src/diffpy/pdfgui/gui/dopingseriespanel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
from diffpy.pdfgui.gui.pdfpanel import PDFPanel
2525
from diffpy.pdfgui.gui import tooltips
2626
from diffpy.pdfgui.control.pdfguimacros import makeDopingSeries
27-
from diffpy.pdfgui.gui.wxExtensions.listctrls import AutoWidthListCtrl
28-
from diffpy.pdfgui.gui.wxExtensions.validators import TextValidator, ALPHA_ONLY
27+
from diffpy.pdfgui.gui.wxextensions.listctrls import AutoWidthListCtrl
28+
from diffpy.pdfgui.gui.wxextensions.validators import TextValidator, ALPHA_ONLY
2929

3030
class DopingSeriesPanel(wx.Panel,PDFPanel):
3131
def __init__(self, *args, **kwds):

src/diffpy/pdfgui/gui/extendedplotframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
from matplotlib.font_manager import FontProperties
2929
import wx
3030

31-
from diffpy.pdfgui.gui.wxExtensions import wx12
31+
from diffpy.pdfgui.gui.wxextensions import wx12
3232
from diffpy.pdfgui.gui.pdfguiglobals import iconpath
3333

3434
DATA_SAVE_ID = wx12.NewIdRef()

src/diffpy/pdfgui/gui/fittree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
from diffpy.pdfgui.gui.pdfguiglobals import iconpath
3030
from diffpy.pdfgui.control.fitting import Fitting
3131
from diffpy.pdfgui.control.controlerrors import ControlError
32-
from diffpy.pdfgui.gui.wxExtensions import wx12
32+
from diffpy.pdfgui.gui.wxextensions import wx12
3333

3434
class FitTree(wx12.TreeCtrl):
3535
"""TreeCtrl designed to organize pdffit fits.

src/diffpy/pdfgui/gui/mainframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
from diffpy.pdfgui.gui.pdfguiglobals import iconpath, docMainFile
5555
from diffpy.pdfgui.gui.errorwrapper import catchObjectErrors
5656

57-
from diffpy.pdfgui.gui.wxExtensions import wx12
57+
from diffpy.pdfgui.gui.wxextensions import wx12
5858

5959
(PDFCustomEvent, EVT_PDFCUSTOM) = wx.lib.newevent.NewEvent()
6060

0 commit comments

Comments
 (0)