Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
calng
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
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
calibration
calng
Commits
ddc65f71
Commit
ddc65f71
authored
3 years ago
by
David Hammer
Browse files
Options
Downloads
Patches
Plain Diff
Add individual source names to their metadata
parent
5ba47ce0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/calng/ShmemToZMQ.py
+2
-0
2 additions, 0 deletions
src/calng/ShmemToZMQ.py
with
2 additions
and
0 deletions
src/calng/ShmemToZMQ.py
+
2
−
0
View file @
ddc65f71
...
...
@@ -55,6 +55,7 @@ class ShmemToZMQ(PipeToZeroMQ.PipeToZeroMQ):
new_meta
[
source
]
=
conversion
.
meta_to_dict
(
metadata
)
new_meta
[
source
][
"
ignored_keys
"
]
=
ignore
new_meta
[
source
][
"
source
"
]
=
source
shmem_name
,
_
,
_
,
shmem_index
=
shmem_utils
.
parse_shmem_handle
(
handle_string
...
...
@@ -104,6 +105,7 @@ class ShmemToZMQ(PipeToZeroMQ.PipeToZeroMQ):
data
.
get
(
f
"
unstacked.
{
source
}
"
),
paths
=
forward
,
version
=
self
.
version
)
new_meta
[
source
]
=
conversion
.
meta_to_dict
(
metadata
)
new_meta
[
source
][
"
source
"
]
=
source
data
.
erase
(
"
unstacked
"
)
# forward data to all connected ZMQ sockets
...
...
This diff is collapsed.
Click to expand it.
David Hammer
@hammerd
mentioned in commit
78bf590c
·
3 years ago
mentioned in commit
78bf590c
mentioned in commit 78bf590c9c7c13ff3458161bcab21d4ef05dc4be
Toggle commit list
David Hammer
@hammerd
mentioned in commit
3566342d
·
2 years ago
mentioned in commit
3566342d
mentioned in commit 3566342d031db1bb435b6430f100afdbaaa6c4bf
Toggle commit list
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