Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 8, 2024
1 parent 8d16f0c commit 84b3bf5
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,6 @@ def smart_stitch_reflectivity(
scaling_errors = [running_error]

for i in range(len(reduction_list) - 1):

# Low-Q data set
_previous_ws = _prepare_workspace_for_stitching(
reduction_list[i].cross_sections, xs, global_fit, "low_q_workspace"
Expand Down
1 change: 0 additions & 1 deletion reflectivity_ui/interfaces/data_handling/gisans.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ def merge(reduction_list, pol_state, wl_min=0, wl_max=100):


def rebin_extract(reduction_list, pol_state, wl_min, wl_max, qy_npts=50, qz_npts=50, use_pf=False):

binning = (qy_npts + 1, qz_npts + 1)
qy, qz, pf, intensity, d_intensity, _ = merge(reduction_list, pol_state, wl_min=wl_min, wl_max=wl_max)
if use_pf:
Expand Down
1 change: 0 additions & 1 deletion reflectivity_ui/interfaces/smooth_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ def drawPlot(self):
self.ui.sigmaY.setValue(sigma_y)

elif self.ui.qxVSqz.isChecked():

qz_max = max(Qz[I > 0].max(), qz_max)
qz_min = min(Qz[I > 0].min(), qz_min)
qx_min = min(qx_min, Qx[I > 0].min())
Expand Down
1 change: 0 additions & 1 deletion test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def data_server():
r"""Object containing info and functionality for data files"""

class _DataServe(object):

_directory = os.path.join(os.path.dirname(this_module_path), "data")

@property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class MainWindowMock(object):


class TestMainHandler(object):

app = QApplication(sys.argv)
application = MainWindow()
handler = MainHandler(application)
Expand Down

0 comments on commit 84b3bf5

Please sign in to comment.