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-10-01 20:45:08 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c2b79e33384a369e76ee846e089b3c7fcf02d69f
c2b79e33
1 parent
6bbbad85
symbolic link for latest archive
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
RNAnet.py
RNAnet.py
View file @
c2b79e3
...
...
@@ -1560,9 +1560,8 @@ class Pipeline:
if
self
.
ARCHIVE
:
os
.
makedirs
(
runDir
+
"/archive"
,
exist_ok
=
True
)
datestr
=
time
.
strftime
(
'
%
Y
%
m
%
d'
)
subprocess
.
run
([
"tar"
,
"-C"
,
path_to_3D_data
+
"/datapoints"
,
"-czf"
,
runDir
+
f
"/archive/RNANET_datapoints_{datestr}.tar.gz"
,
"."
])
subprocess
.
run
([
"ln"
,
"-S"
,
runDir
+
f
"/archive/RNANET_datapoints_{datestr}.tar.gz"
,
runDir
+
f
"/archive/RNANET_datapoints_latest.tar.gz"
])
subprocess
.
run
([
"tar"
,
"-C"
,
path_to_3D_data
+
"/datapoints"
,
"-czf"
,
runDir
+
f
"/archive/RNANET_datapoints_{datestr}.tar.gz"
,
"."
])
subprocess
.
run
([
"ln"
,
"-s"
,
runDir
+
f
"/archive/RNANET_datapoints_{datestr}.tar.gz"
,
runDir
+
f
"/archive/RNANET_datapoints_latest.tar.gz"
])
def
sanitize_database
(
self
):
"""Searches for issues in the database and correct them"""
...
...
Please
register
or
login
to post a comment