Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linked reads molecule ordering
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Monitor
Incidents
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
Yoann DUFRESNE
linked reads molecule ordering
Commits
a5259676
Commit
a5259676
authored
5 years ago
by
Rayan Chikhi
Browse files
Options
Downloads
Patches
Plain Diff
allow deeper recursions and fixed min_mol_idx init
parent
b15e9b3c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
deconvolution/main/evaluate.py
+2
-1
2 additions, 1 deletion
deconvolution/main/evaluate.py
with
2 additions
and
1 deletion
deconvolution/main/evaluate.py
+
2
−
1
View file @
a5259676
...
...
@@ -2,6 +2,7 @@
import
sys
sys
.
setrecursionlimit
(
10000
)
import
argparse
from
termcolor
import
colored
import
networkx
as
nx
...
...
@@ -318,7 +319,7 @@ def recursive_longest_path(current_node, current_molecule, next_nodes, longest_p
longest
=
0
longest_next
=
None
min_mol_idx
=
current_molecule
+
10000
min_mol_idx
=
float
(
'
inf
'
)
# Recursively compute the longest path
for
mol_idx
,
node
in
next_nodes
[
current_node
][
current_molecule
]:
size
,
_
,
_
=
recursive_longest_path
(
node
,
mol_idx
,
next_nodes
,
longest_paths
)
...
...
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