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
2020-05-29 08:40:50 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
78e5248cf554915c2a9fa4e46aa0820f74232a31
78e5248c
1 parent
6d1b967e
force python3.8 for the post-computation scripts
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
RNAnet.py
RNAnet.py
View file @
78e5248
...
...
@@ -1203,8 +1203,8 @@ class Pipeline:
# Run statistics files
os
.
chdir
(
runDir
)
subprocess
.
run
([
"python3"
,
"regression.py"
])
subprocess
.
run
([
"python3"
,
"statistics.py"
,
path_to_3D_data
,
path_to_seq_data
])
subprocess
.
run
([
"python3
.8
"
,
"regression.py"
])
subprocess
.
run
([
"python3
.8
"
,
"statistics.py"
,
path_to_3D_data
,
path_to_seq_data
])
# Save additional informations
conn
=
sqlite3
.
connect
(
runDir
+
"/results/RNANet.db"
)
...
...
@@ -1309,8 +1309,11 @@ def warn(message, error=False):
# Cut if too long
if
len
(
message
)
>
66
:
x
=
message
.
find
(
' '
,
50
,
66
)
warn
(
message
[:
x
],
error
=
error
)
warn
(
message
[
x
+
1
:],
error
=
error
)
if
x
!=
-
1
:
warn
(
message
[:
x
],
error
=
error
)
warn
(
message
[
x
+
1
:],
error
=
error
)
else
:
warn
(
message
[:
x
],
error
=
error
)
return
if
error
:
...
...
@@ -2011,9 +2014,10 @@ def work_pssm(f, fill_gaps):
re_mappings
+=
new_mappings
except
ValueError
:
with
open
(
runDir
+
"/errors.txt"
,
"a"
)
as
errf
:
errf
.
write
(
f
"Chain {s.id} not found in list of chains to process. ignoring.
\n
"
)
# with open(runDir + "/errors.txt", "a") as errf:
# errf.write(f"Chain {s.id} not found in list of chains to process. ignoring.\n")
pass
pbar
.
update
(
1
)
pbar
.
close
()
...
...
Please
register
or
login
to post a comment