Skip to content

Commit a06cf35

Browse files
committed
Added some test functions (#1358)
Signed-off-by: rz-wang <rzwang@umich.edu>
1 parent caceca3 commit a06cf35

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

xga/tools/clusters/LT.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,9 @@ def luminosity_temperature_pipeline(sample_data: pd.DataFrame, start_aperture: Q
244244

245245
# Check whether the specified core_excised value matches that of the scaling relation
246246
if core_excised == rad_temp_rel.core_excised or core_excised == temp_lum_rel.core_excised:
247+
print(core_excised)
248+
print(rad_temp_rel.core_excised)
249+
print(temp_lum_rel.core_excised)
247250
print("Your choice of 'core_excised' matches the ScalingRelation.")
248251
else:
249252
raise TypeError("Mismatch: Your choice of 'core_excised' for iteration does not match the ScalingRelation.")

0 commit comments

Comments
 (0)