Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
anselm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
vaclab
anselm
Commits
415e76b9
Commit
415e76b9
authored
6 years ago
by
wactbprot
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of gitproxy:wactbprot/anselm
parents
62856098
b81f360f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
anselm.py
+2
-0
2 additions, 0 deletions
anselm.py
anselm/worker.py
+2
-2
2 additions, 2 deletions
anselm/worker.py
with
4 additions
and
2 deletions
anselm.py
+
2
−
0
View file @
415e76b9
...
...
@@ -151,6 +151,7 @@ class Anselm(System):
def
add_device_line
(
self
):
self
.
current_grid_line
+=
1
line
=
self
.
current_grid_line
self
.
add_widget_to_grid
(
self
.
make_cal_id_combo
(
line
=
line
),
line
,
self
.
cal_id_col
)
self
.
add_widget_to_grid
(
self
.
make_auxobj_combo
(
line
=
line
),
line
,
self
.
auxobj_col
)
...
...
@@ -266,6 +267,7 @@ class Anselm(System):
self
.
log
.
info
(
"
task with name {} selected at line {}
"
.
format
(
task_name
,
line
))
def
auxobj_selected
(
self
,
combo
,
line
):
doc_id
=
combo
.
currentText
()
self
.
aset
(
'
doc_id
'
,
line
,
doc_id
)
self
.
log
.
debug
(
"
select {} at line {}
"
.
format
(
doc_id
,
line
))
...
...
This diff is collapsed.
Click to expand it.
anselm/worker.py
+
2
−
2
View file @
415e76b9
...
...
@@ -9,9 +9,9 @@ class Worker(System):
work_on_line
=
None
def
__init__
(
self
):
super
().
__init__
()
relay_dict
=
self
.
config
[
'
relay
'
]
relay_dict
=
self
.
config
.
get
(
'
relay
'
)
self
.
relay_dict
=
relay_dict
self
.
relay_url
=
"
http://{}:{}
"
.
format
(
relay_dict
[
'
host
'
]
,
relay_dict
[
'
port
'
]
)
self
.
relay_url
=
"
http://{}:{}
"
.
format
(
relay_dict
.
get
(
'
host
'
)
,
relay_dict
.
get
(
'
port
'
)
)
self
.
headers
=
{
'
content-type
'
:
'
application/json
'
}
...
...
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