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
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
9edd1e8b
Commit
9edd1e8b
authored
3 weeks ago
by
Véronique LEGRAND
Browse files
Options
Downloads
Patches
Plain Diff
fixed reading of data; previous modif was done too chickly
parent
9d746b0d
No related branches found
No related tags found
No related merge requests found
Pipeline
#153248
failed with stage
in 1 minute and 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
phagetermvirome/IData_handling.py
+3
-1
3 additions, 1 deletion
phagetermvirome/IData_handling.py
with
3 additions
and
1 deletion
phagetermvirome/IData_handling.py
+
3
−
1
View file @
9edd1e8b
...
...
@@ -294,8 +294,10 @@ def totReads(filin):
filein
=
open
(
filin
,
'
r
'
)
line
=
0
with
io
.
BufferedReader
(
filein
,
buffer_size
=
bufsize
)
as
buffered_f
:
for
l
in
buffered_f
:
line
+=
1
#while filein.readline():
line
+=
1
#
line += 1
seq
=
float
(
round
(
line
/
4
))
filein
.
close
()
end_t
=
time
.
perf_counter_ns
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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