Skip to content

Commit ee78f0c

Browse files
committed
modifies warning signature and re-nabled checking in disortion corr
1 parent 5248a7f commit ee78f0c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

httomolibgpu/misc/supp_func.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def _naninfs_check(
102102
if present_nans_infs_b:
103103
if verbosity:
104104
print(
105-
f"Warning!!! Input data to method: {method_name} contains Inf's or/and NaN's. This will be corrected but it sometimes recommended to check the validity of input to the method."
105+
f"Warning!!! Input data to method: {method_name} contains Inf's or/and NaN's. This will be corrected but it is recommended to check the validity of input to the method."
106106
)
107107

108108
return data

httomolibgpu/prep/alignment.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ def distortion_correction_proj_discorpy(
8888
if len(data.shape) == 2:
8989
data = cp.expand_dims(data, axis=0)
9090

91-
# data = data_checker(
92-
# data, verbosity=True, method_name="distortion_correction_proj_discorpy"
93-
# )
91+
data = data_checker(
92+
data, verbosity=True, method_name="distortion_correction_proj_discorpy"
93+
)
9494

9595
# Get info from metadata txt file
9696
xcenter, ycenter, list_fact = _load_metadata_txt(metadata_path)

0 commit comments

Comments
 (0)