Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BioFlow-Insight
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
shareFAIR
BioFlow-Insight
Commits
acfd81af
Commit
acfd81af
authored
1 year ago
by
George Marchment
Browse files
Options
Downloads
Patches
Plain Diff
fix same problem but called
parent
c72aeabe
No related branches found
No related tags found
No related merge requests found
Pipeline
#13351
passed with stage
in 1 minute and 8 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main_DSL2.py
+4
-4
4 additions, 4 deletions
src/main_DSL2.py
src/nextflow_file.py
+2
-2
2 additions, 2 deletions
src/nextflow_file.py
with
6 additions
and
6 deletions
src/main_DSL2.py
+
4
−
4
View file @
acfd81af
...
...
@@ -42,15 +42,15 @@ class Main_DSL2(Nextflow_Building_Blocks):
def
get_process_from_name
(
self
,
name
):
return
self
.
origin
.
get_process_from_name
(
name
)
def
get_processes_called
(
self
,
tab
=
[]
):
def
get_processes_called
(
self
,
defined
=
{}
):
for
c
in
self
.
get_all_called
():
if
(
c
.
get_type
()
==
"
Process
"
):
tab
.
append
(
c
)
defined
[
c
]
=
[]
elif
(
c
.
get_type
()
==
"
Subworkflow
"
):
tab
+=
c
.
get_processes_called
()
_
=
c
.
get_processes_called
(
defined
=
defined
)
return
list
(
set
(
tab
))
return
list
(
defined
.
keys
(
))
def
get_function_from_name
(
self
,
name
):
...
...
This diff is collapsed.
Click to expand it.
src/nextflow_file.py
+
2
−
2
View file @
acfd81af
...
...
@@ -305,11 +305,11 @@ class Nextflow_File(Nextflow_Building_Blocks):
return
dict
def
get_processes_called
(
self
,
tab
=
[]
):
def
get_processes_called
(
self
):
if
(
self
.
get_DSL
()
==
"
DSL1
"
):
return
self
.
get_processes
()
elif
(
self
.
get_DSL
()
==
"
DSL2
"
):
return
self
.
main
.
get_processes_called
()
return
self
.
main
.
get_processes_called
(
defined
=
{}
)
else
:
raise
Exception
(
"
This shouldn
'
t happen!
"
)
...
...
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