Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alibylite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Swain Lab
aliby
alibylite
Commits
5bcfd6fe
Commit
5bcfd6fe
authored
2 years ago
by
Alán Muñoz
Browse files
Options
Downloads
Patches
Plain Diff
feat(pipeline): Write version to metadata
parent
573ed998
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/aliby/pipeline.py
+2
-0
2 additions, 0 deletions
src/aliby/pipeline.py
with
2 additions
and
0 deletions
src/aliby/pipeline.py
+
2
−
0
View file @
5bcfd6fe
...
@@ -7,6 +7,7 @@ import re
...
@@ -7,6 +7,7 @@ import re
import
traceback
import
traceback
import
typing
as
t
import
typing
as
t
from
copy
import
copy
from
copy
import
copy
from
importlib.metadata
import
version
from
pathlib
import
Path
,
PosixPath
from
pathlib
import
Path
,
PosixPath
from
time
import
perf_counter
from
time
import
perf_counter
from
typing
import
Union
from
typing
import
Union
...
@@ -707,6 +708,7 @@ class Pipeline(ProcessABC):
...
@@ -707,6 +708,7 @@ class Pipeline(ProcessABC):
meta
.
run
()
meta
.
run
()
meta
.
add_fields
(
# Add non-logfile metadata
meta
.
add_fields
(
# Add non-logfile metadata
{
{
"
aliby_version
"
:
version
(
'
aliby
'
)
"
omero_id
"
:
config
[
"
general
"
][
"
id
"
],
"
omero_id
"
:
config
[
"
general
"
][
"
id
"
],
"
image_id
"
:
image_id
,
"
image_id
"
:
image_id
,
"
parameters
"
:
PipelineParameters
.
from_dict
(
"
parameters
"
:
PipelineParameters
.
from_dict
(
...
...
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