Skip to content

Commit

Permalink
remove debugging lines
Browse files Browse the repository at this point in the history
  • Loading branch information
y8z committed Sep 24, 2024
1 parent cfc17d0 commit da0090c
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions total_scattering/reduction/total_scattering_reduction.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@
GetIPTS, \
SaveNexus, \
LoadNexus, \
RenameWorkspace, \
SaveNexusProcessed
RenameWorkspace

from total_scattering.file_handling.load import load, create_absorption_wksp
from total_scattering.file_handling.save import save_banks
Expand Down Expand Up @@ -1508,13 +1507,6 @@ def TotalScatteringReduction(config: dict = None):
new_y = np.nan_to_num(orig_y_tmp, nan=0)
mtd[van_corrected].setY(i, new_y)

SaveNexusProcessed(
InputWorkspace=van_corrected,
Filename="/SNS/users/y8z/Temp/vanadium.nxs",
Title="checking",
WorkspaceIndexList=range(
mtd[van_corrected].getNumberHistograms()))

# After StripVanadiumPeaks, the workspace goes from EventWorkspace ->
# Workspace2D
StripVanadiumPeaks(
Expand Down

0 comments on commit da0090c

Please sign in to comment.