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

Add QA rule

parent 8c2549f8
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,8 @@ def valid_transition(from_state, to_state):
return (from_state + ' --> ' + to_state) in JOB_TRANSITIONS or from_state == to_state
ALGORITHMS = [
'dcm2nii'
'dcm2nii',
'qa'
]
# A FileInput tuple holds all the details of a scitran file that needed to use that as an input a formula.
......
......@@ -42,12 +42,16 @@ MATCH_TYPES = [
# TODO: replace with default rules, which get persisted, maintained, upgraded, and reasoned intelligently
HARDCODED_RULES = [
# dcm2nii
{
'alg': 'dcm2nii',
'all': [
['file.type', 'dicom']
],
'alg': 'dcm2nii'
]
}, {
'alg': 'qa',
'all': [
['file.name', '*.nii.gz']
]
}
]
......
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