Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pycalibration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor 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
pycalibration
Commits
e8789e10
Commit
e8789e10
authored
1 year ago
by
Karim Ahmed
Browse files
Options
Downloads
Patches
Plain Diff
create markdown \n
parent
26ecb285
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!845
[JF][pnCCD][ePix100] Feat: new method to display CCV metadata in reports
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/cal_tools/calcat_interface.py
+2
-2
2 additions, 2 deletions
src/cal_tools/calcat_interface.py
with
2 additions
and
2 deletions
src/cal_tools/calcat_interface.py
+
2
−
2
View file @
e8789e10
...
@@ -717,13 +717,13 @@ class CalibrationData:
...
@@ -717,13 +717,13 @@ class CalibrationData:
metadata
=
self
.
metadata
()
metadata
=
self
.
metadata
()
for
mod
,
mod_md
in
metadata
.
items
():
for
mod
,
mod_md
in
metadata
.
items
():
# Add module name.
# Add module name.
markdown_text
+=
f
"
\n
{
mod
}
(
{
mod_to_pdu
[
mod
]
}
):
\n
"
markdown_text
+=
f
"
{
mod
}
(
{
mod_to_pdu
[
mod
]
}
):
<br />
"
# Add calibration constant name with link to CalCat
# Add calibration constant name with link to CalCat
# and add creation time.
# and add creation time.
for
cname
,
c_mdata
in
mod_md
.
items
():
for
cname
,
c_mdata
in
mod_md
.
items
():
markdown_text
+=
(
markdown_text
+=
(
f
"
- [
{
cname
}
](
{
ccvs_url
}
/
{
c_mdata
[
'
ccv_id
'
]
}
):
"
f
"
- [
{
cname
}
](
{
ccvs_url
}
/
{
c_mdata
[
'
ccv_id
'
]
}
):
"
f
"
{
c_mdata
[
'
begin_validity_at
'
]
}
\n
"
)
f
"
{
c_mdata
[
'
begin_validity_at
'
]
}
<br />
"
)
return
markdown_text
return
markdown_text
def
_build_condition
(
self
,
parameters
):
def
_build_condition
(
self
,
parameters
):
...
...
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