Skip to content

Commit 5305068

Browse files
Yuchen XiaoYuchen Xiao
authored andcommitted
chore: fix typo
1 parent 27791ee commit 5305068

3 files changed

Lines changed: 3 additions & 35 deletions

File tree

docs/examples/refinement/template_2.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
import sys
33

44
import numpy as np
5+
from scipy.optimize import least_squares
6+
57
from diffpy.srfit.fitbase import (
68
FitContribution,
79
FitRecipe,
@@ -11,7 +13,6 @@
1113
from diffpy.srfit.pdf import PDFGenerator, PDFParser
1214
from diffpy.srfit.structure import constrainAsSpaceGroup
1315
from diffpy.structure.parsers import getParser
14-
from scipy.optimize import least_squares
1516

1617
# from diffpy.srfit.pdf.characteristicfunctions import sphericalCF
1718

src/diffpy/batchpdfsuite/batchpdfsuite_gui.py

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -94,36 +94,3 @@ def _help(self):
9494
width=800,
9595
height=600,
9696
)
97-
98-
# traits_view = View(
99-
# HGroup(
100-
# VGroup(
101-
# Item(
102-
# "select_exp_files",
103-
# editor=InstanceEditor(view="traits_view"),
104-
# style="custom",
105-
# width=300,
106-
# show_label=False,
107-
# ),
108-
# Item(
109-
# "select_phase_files",
110-
# editor=InstanceEditor(view="traits_view"),
111-
# style="custom",
112-
# width=300,
113-
# show_label=False,
114-
# ),
115-
# ),
116-
# Item(
117-
# "refinement_configuration",
118-
# editor=InstanceEditor(view="traits_view"),
119-
# style="custom",
120-
# show_label=False,
121-
# ),
122-
# ),
123-
# resizable=True,
124-
# title="Batch PDF Refinement Suite",
125-
# width=800,
126-
# height=600,
127-
# kind="live",
128-
# toolbar=toolbar,
129-
# )

src/diffpy/batchpdfsuite/refinement_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from pathlib import Path
99

1010
import jinja2
11-
from diffpy.apps.app_runmacro import MacroParser
1211
from pyface.api import OK, DirectoryDialog
1312
from traits.api import (
1413
Any,
@@ -38,6 +37,7 @@
3837
spring,
3938
)
4039

40+
from diffpy.apps.app_runmacro import MacroParser
4141
from diffpy.batchpdfsuite.refinement_editor import (
4242
LogDialog,
4343
TextFileEditorDialog,

0 commit comments

Comments
 (0)