Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -952,7 +952,7 @@ def par_distance_matrix(filelist, f, label, consider_all_atoms, s): | ... | @@ -952,7 +952,7 @@ def par_distance_matrix(filelist, f, label, consider_all_atoms, s): |
952 | else: | 952 | else: |
953 | d[i,j] = get_euclidian_distance(coordinates_with_gaps[i], coordinates_with_gaps[j]) | 953 | d[i,j] = get_euclidian_distance(coordinates_with_gaps[i], coordinates_with_gaps[j]) |
954 | 954 | ||
955 | - if f not in LSU_set an f not in SSU_set: | 955 | + if f not in LSU_set and f not in SSU_set: |
956 | np.savetxt(runDir + '/results/distance_matrices/' + f + '_'+ label + '/'+ s.id.strip("\'") + '.csv', d, delimiter=",", fmt="%.3f") | 956 | np.savetxt(runDir + '/results/distance_matrices/' + f + '_'+ label + '/'+ s.id.strip("\'") + '.csv', d, delimiter=",", fmt="%.3f") |
957 | return 1-np.isnan(d).astype(int), np.nan_to_num(d), np.nan_to_num(d*d) | 957 | return 1-np.isnan(d).astype(int), np.nan_to_num(d), np.nan_to_num(d*d) |
958 | 958 | ... | ... |
-
Please register or login to post a comment