Skip to content

Commit

Permalink
adc -> ADC
Browse files Browse the repository at this point in the history
  • Loading branch information
Reza Eghbali committed Mar 2, 2024
1 parent dcd9ee7 commit a2cf57d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions tests/unit/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,12 +487,12 @@ def test_get_lesion_stats(self):
self.assertEqual(0.5, lesion_stats['relative_T1_signal'])
self.assertEqual(0.75, lesion_stats['relative_T2_signal'])
self.assertEqual(1.25, lesion_stats['relative_ADC_signal'])
self.assertEqual(1.25, lesion_stats['mean_adc_signal'])
self.assertEqual(0.0, lesion_stats['min_adc_signal'])
self.assertEqual(1.5, lesion_stats['median_adc_signal'])
np.testing.assert_almost_equal(0.15, lesion_stats['five_percentile_adc_signal'])
self.assertEqual(1.25, lesion_stats['mean_ADC_signal'])
self.assertEqual(0.0, lesion_stats['min_ADC_signal'])
self.assertEqual(1.5, lesion_stats['median_ADC_signal'])
np.testing.assert_almost_equal(0.15, lesion_stats['five_percentile_ADC_signal'])
np.testing.assert_almost_equal(
2.0, lesion_stats['ninety_five_percentile_adc_signal']
2.0, lesion_stats['ninety_five_percentile_ADC_signal']
)
self.assertEqual(1.5, lesion_stats['relative_T1Post_signal'])
self.assertEqual(1.0, lesion_stats['relative_FLAIR_signal'])
Expand Down Expand Up @@ -836,9 +836,9 @@ def test_run(self):
self.assertEqual(0.4375, lesion_stats['relative_T1_signal'])
self.assertEqual(0.6875, lesion_stats['relative_T2_signal'])
self.assertEqual(0.9375, lesion_stats['relative_ADC_signal'])
self.assertEqual(3.75, lesion_stats['mean_adc_signal'])
self.assertEqual(0.0, lesion_stats['min_adc_signal'])
self.assertEqual(4.5, lesion_stats['median_adc_signal'])
self.assertEqual(3.75, lesion_stats['mean_ADC_signal'])
self.assertEqual(0.0, lesion_stats['min_ADC_signal'])
self.assertEqual(4.5, lesion_stats['median_ADC_signal'])
np.testing.assert_almost_equal(0.6, lesion_stats['five_percentile_ADC_signal'])
np.testing.assert_almost_equal(
lesion_stats['ninety_five_percentile_ADC_signal'], 5.85
Expand Down Expand Up @@ -878,9 +878,9 @@ def test_run(self):
self.assertEqual(0.5, lesion_stats['relative_T1_signal'])
self.assertEqual(0.75, lesion_stats['relative_T2_signal'])
self.assertEqual(1.25, lesion_stats['relative_ADC_signal'])
self.assertEqual(5.0, lesion_stats['mean_adc_signal'])
self.assertEqual(4.0, lesion_stats['min_adc_signal'])
self.assertEqual(5.0, lesion_stats['median_adc_signal'])
self.assertEqual(5.0, lesion_stats['mean_ADC_signal'])
self.assertEqual(4.0, lesion_stats['min_ADC_signal'])
self.assertEqual(5.0, lesion_stats['median_ADC_signal'])
self.assertEqual(1.5, lesion_stats['relative_T1Post_signal'])
self.assertEqual(1.0, lesion_stats['relative_FLAIR_signal'])
self.assertEqual(1.5, lesion_stats['enhancement'])
Expand Down

0 comments on commit a2cf57d

Please sign in to comment.