Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Louis BECQUEY
/
RNANet
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Louis BECQUEY
2021-02-01 09:45:03 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3afda63d807f92a3d16811d2d917354420deefb8
3afda63d
1 parent
36c27f94
do not save individual distance matrices files for LSU/SSUs
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
statistics.py
statistics.py
View file @
3afda63
...
...
@@ -952,7 +952,7 @@ def par_distance_matrix(filelist, f, label, consider_all_atoms, s):
else
:
d
[
i
,
j
]
=
get_euclidian_distance
(
coordinates_with_gaps
[
i
],
coordinates_with_gaps
[
j
])
if
f
not
in
LSU_set
an
f
not
in
SSU_set
:
if
f
not
in
LSU_set
an
d
f
not
in
SSU_set
:
np
.
savetxt
(
runDir
+
'/results/distance_matrices/'
+
f
+
'_'
+
label
+
'/'
+
s
.
id
.
strip
(
"
\'
"
)
+
'.csv'
,
d
,
delimiter
=
","
,
fmt
=
"
%.3
f"
)
return
1
-
np
.
isnan
(
d
)
.
astype
(
int
),
np
.
nan_to_num
(
d
),
np
.
nan_to_num
(
d
*
d
)
...
...
Please
register
or
login
to post a comment