Skip to content

Commit d583c74

Browse files
silly bracket in wrong place!!
1 parent ba6e3cb commit d583c74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xga/sourcetools/mass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def inv_abel_dens_onion_temp(sources: Union[GalaxyCluster, ClusterSample], outer
147147
continue
148148
# If every stage of this analysis has worked then we setup the hydro mass profile
149149
if (str(src) in dens_prof_dict) and (dens_prof_dict[str(src)][tel] is not None) \
150-
and (str(src) in temp_prof_dict) and (temp_prof_dict[str(src)[tel] is not None]):
150+
and (str(src) in temp_prof_dict) and (temp_prof_dict[str(src)][tel] is not None):
151151
# This fetches out the correct density and temperature profiles
152152
d_prof = dens_prof_dict[str(src)][tel]
153153
t_prof = temp_prof_dict[str(src)][tel]

0 commit comments

Comments
 (0)