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:43:51 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
36c27f9493d9874b3add5ad7a6c64a5bcf956621
36c27f94
1 parent
810f5fcf
do not save individual distance matrices files for LSU/SSUs
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
statistics.py
statistics.py
View file @
36c27f9
...
...
@@ -952,7 +952,8 @@ 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
])
np
.
savetxt
(
runDir
+
'/results/distance_matrices/'
+
f
+
'_'
+
label
+
'/'
+
s
.
id
.
strip
(
"
\'
"
)
+
'.csv'
,
d
,
delimiter
=
","
,
fmt
=
"
%.3
f"
)
if
f
not
in
LSU_set
an
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
)
@trace_unhandled_exceptions
...
...
Please
register
or
login
to post a comment