Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Chenhao Ma
core
Commits
f0a5a952
Commit
f0a5a952
authored
9 years ago
by
Nathaniel Kofalt
Browse files
Options
Downloads
Patches
Plain Diff
Small tweaks
parent
ad707def
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
api/jobs.py
+1
-1
1 addition, 1 deletion
api/jobs.py
api/rules.py
+1
-1
1 addition, 1 deletion
api/rules.py
with
2 additions
and
2 deletions
api/jobs.py
+
1
−
1
View file @
f0a5a952
...
...
@@ -43,7 +43,7 @@ ALGORITHMS = [
"
dcm2nii
"
]
#
H
olds all details of a scitran file needed to use that as an input a formula.
#
A FileInput tuple h
olds 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
...
...
This diff is collapsed.
Click to expand it.
api/rules.py
+
1
−
1
View file @
f0a5a952
...
...
@@ -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
:
...
...
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