Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -952,7 +952,8 @@ def par_distance_matrix(filelist, f, label, consider_all_atoms, s): | ... | @@ -952,7 +952,8 @@ 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 | - np.savetxt(runDir + '/results/distance_matrices/' + f + '_'+ label + '/'+ s.id.strip("\'") + '.csv', d, delimiter=",", fmt="%.3f") | 955 | + if f not in LSU_set an f not in SSU_set: |
956 | + np.savetxt(runDir + '/results/distance_matrices/' + f + '_'+ label + '/'+ s.id.strip("\'") + '.csv', d, delimiter=",", fmt="%.3f") | ||
956 | 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) |
957 | 958 | ||
958 | @trace_unhandled_exceptions | 959 | @trace_unhandled_exceptions | ... | ... |
-
Please register or login to post a comment