Skip to content
Snippets Groups Projects
Commit f0a5a952 authored by Nathaniel Kofalt's avatar Nathaniel Kofalt
Browse files

Small tweaks

parent ad707def
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ ALGORITHMS = [
"dcm2nii"
]
# Holds all details of a scitran file needed to use that as an input a formula.
# A FileInput tuple holds all the details of a scitran file that needed to use that as an input a formula.
FileInput = namedtuple('input', ['container_type', 'container_id', 'filename', 'filehash'])
# Convert a dictionary to a FileInput
......
......@@ -122,7 +122,7 @@ def create_jobs(db, container, container_type, file_):
# Get configured rules for this project
project = get_project_for_container(db, container)
rules = project. get('rules', [])
rules = project.get('rules', [])
# Add hardcoded rules that cannot be removed or changed
for hardcoded_rule in HARDCODED_RULES:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment