Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PTV
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Véronique LEGRAND
PTV
Commits
0fb36a15
Commit
0fb36a15
authored
1 month ago
by
Veronique Legrand
Browse files
Options
Downloads
Patches
Plain Diff
next part of the fix for the same pb as the previous one
parent
22117ccf
No related branches found
No related tags found
No related merge requests found
Pipeline
#152219
passed
1 month ago
Stage: tests
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
phagetermvirome/readsCoverage_res.py
+1
-2
1 addition, 2 deletions
phagetermvirome/readsCoverage_res.py
with
1 addition
and
2 deletions
phagetermvirome/readsCoverage_res.py
+
1
−
2
View file @
0fb36a15
...
@@ -214,13 +214,12 @@ class RCCheckpoint_handler:
...
@@ -214,13 +214,12 @@ class RCCheckpoint_handler:
def
__init__
(
self
,
chk_freq
,
dir_chk
,
test_mode
=
False
):
def
__init__
(
self
,
chk_freq
,
dir_chk
,
test_mode
=
False
):
self
.
chk_freq
=
chk_freq
self
.
chk_freq
=
chk_freq
self
.
test_mode
=
test_mode
self
.
test_mode
=
test_mode
self
.
start_t
=
0
self
.
start_t
=
time
.
perf_counter_ns
()
self
.
dir_chk
=
dir_chk
self
.
dir_chk
=
dir_chk
# if self.test_mode == True:
# if self.test_mode == True:
# self.v38_C5 = checkpoint_visitor_38_Cos5()
# self.v38_C5 = checkpoint_visitor_38_Cos5()
# self.v11150_C5 = checkpoint_visitor_11150_Cos5()
# self.v11150_C5 = checkpoint_visitor_11150_Cos5()
if
self
.
test_mode
==
True
:
if
self
.
test_mode
==
True
:
self
.
start_t
=
time
.
perf_counter_ns
()
if
os
.
path
.
exists
(
dir_chk
):
if
os
.
path
.
exists
(
dir_chk
):
if
not
(
os
.
path
.
isdir
(
dir_chk
)):
if
not
(
os
.
path
.
isdir
(
dir_chk
)):
raise
RuntimeError
(
"
dir_chk must point to a directory
"
)
raise
RuntimeError
(
"
dir_chk must point to a directory
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment