Skip to content

Commit

Permalink
Removed system test that was testing old interface
Browse files Browse the repository at this point in the history
The new AanalysisReduction class is already being tested by
test_analysis.py so the removed test was redundant.
  • Loading branch information
GuiMacielPereira committed Aug 8, 2024
1 parent aab0f15 commit 7f9f2a1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 181 deletions.
1 change: 0 additions & 1 deletion src/mvesuvio/analysis_routines.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ def runJoint(bckwdIC, fwdIC):

backRoutine.run()
frontRoutine.set_initial_profiles_from(backRoutine)
print("\nCHANGED STARTING POINT OF PROFILES\n")
frontRoutine.run()
return

Expand Down
2 changes: 1 addition & 1 deletion src/mvesuvio/oop/AnalysisRoutine.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ def calcMSCorrectionSampleProperties(self, meanWidths, meanIntensityRatios):
masses = np.append(masses, 1.0079)
meanWidths = np.append(meanWidths, 5.0)

HIntensity = self._h_ratio * meanIntensityRatios[np.argmin(self._masses)]
HIntensity = self._h_ratio * meanIntensityRatios[np.argmin(masses)]
meanIntensityRatios = np.append(meanIntensityRatios, HIntensity)
meanIntensityRatios /= np.sum(meanIntensityRatios)

Expand Down
179 changes: 0 additions & 179 deletions tests/system/analysis/test_new_analysis.py

This file was deleted.

0 comments on commit 7f9f2a1

Please sign in to comment.