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
df25291b
Commit
df25291b
authored
3 years ago
by
Alán Muñoz
Browse files
Options
Downloads
Patches
Plain Diff
add todo
Former-commit-id: 3d88bd03d15dc69fa2d97faf41075b9f20410b6f
parent
b12c2993
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
+2
-0
2 additions, 0 deletions
core/processor.py
with
2 additions
and
0 deletions
core/processor.py
+
2
−
0
View file @
df25291b
...
@@ -68,6 +68,8 @@ class PostProcessor:
...
@@ -68,6 +68,8 @@ class PostProcessor:
def
get_process
(
process
):
def
get_process
(
process
):
"""
"""
Dynamically import a process class from the
'
processes
'
folder.
Dynamically import a process class from the
'
processes
'
folder.
Assumes process filename and class name are the same
# TODO add support for passing parameters
"""
"""
return
locate
(
"
postprocessor.core.processes.
"
+
process
+
"
.
"
+
process
)
return
locate
(
"
postprocessor.core.processes.
"
+
process
+
"
.
"
+
process
)
...
...
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