Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aliby-mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Swain Lab
aliby
aliby-mirror
Commits
96da7efd
Commit
96da7efd
authored
3 years ago
by
Alán Muñoz
Browse files
Options
Downloads
Patches
Plain Diff
change type of processor
Former-commit-id: 5badbaff9ffdae59570f3a1c0bafb8a89ec3747c
parent
42de0991
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
core/processor.py
+3
-3
3 additions, 3 deletions
core/processor.py
with
3 additions
and
3 deletions
core/processor.py
+
3
−
3
View file @
96da7efd
...
@@ -89,11 +89,11 @@ class PostProcessor:
...
@@ -89,11 +89,11 @@ class PostProcessor:
)
)
self
.
classfun
=
{
self
.
classfun
=
{
process
:
self
.
get_process
(
process
)
process
:
self
.
get_process
(
process
)
for
process
in
parameters
[
"
targets
"
][
"
processes
"
]
for
process
,
_
in
parameters
[
"
targets
"
][
"
processes
"
]
}
}
self
.
parameters_classfun
=
{
self
.
parameters_classfun
=
{
process
:
self
.
get_parameters
(
process
)
process
:
self
.
get_parameters
(
process
)
for
process
in
parameters
[
"
targets
"
][
"
processes
"
]
for
process
,
_
in
parameters
[
"
targets
"
][
"
processes
"
]
}
}
self
.
targets
=
parameters
[
"
targets
"
]
self
.
targets
=
parameters
[
"
targets
"
]
...
@@ -208,7 +208,7 @@ class PostProcessor:
...
@@ -208,7 +208,7 @@ class PostProcessor:
def
run
(
self
):
def
run
(
self
):
self
.
run_prepost
()
self
.
run_prepost
()
for
process
,
datasets
in
self
.
targets
[
"
processes
"
]
.
items
()
:
for
process
,
datasets
in
self
.
targets
[
"
processes
"
]:
if
process
in
self
.
parameters
[
"
parameters
"
].
get
(
if
process
in
self
.
parameters
[
"
parameters
"
].
get
(
"
processes
"
,
{}
"
processes
"
,
{}
):
# If we assigned parameters
):
# If we assigned parameters
...
...
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