Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
web app
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
ICNML
web app
Commits
90a07295
Commit
90a07295
authored
5 years ago
by
Marco De Donno
Browse files
Options
Downloads
Patches
Plain Diff
Order the detection technics and the surfaces by name
parent
ec5de5d5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
views/trainer/__init__.py
+2
-2
2 additions, 2 deletions
views/trainer/__init__.py
with
2 additions
and
2 deletions
views/trainer/__init__.py
+
2
−
2
View file @
90a07295
...
...
@@ -19,8 +19,8 @@ def search():
Provide the search page.
"""
marks
=
config
.
db
.
query_fetchall
(
"
SELECT * FROM mark_info
"
)
all_detection_technics
=
config
.
db
.
query_fetchall
(
"
SELECT * FROM detection_technics
"
)
surfaces
=
config
.
db
.
query_fetchall
(
"
SELECT * FROM surfaces
"
)
all_detection_technics
=
config
.
db
.
query_fetchall
(
"
SELECT * FROM detection_technics
ORDER BY name ASC
"
)
surfaces
=
config
.
db
.
query_fetchall
(
"
SELECT * FROM surfaces
ORDER BY name ASC
"
)
for
_
,
v
in
enumerate
(
marks
):
for
col
in
[
"
detection_technic
"
,
"
surface
"
]:
...
...
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