Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_common
Commits
e0b3b566
Commit
e0b3b566
authored
Nov 08, 2022
by
BO ZHANG
🏀
Browse files
updated fr.summary property
parent
fb968792
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_common/file_recorder.py
View file @
e0b3b566
...
...
@@ -90,12 +90,10 @@ class FileRecorder(list):
t
,
max_lines
=-
1
,
max_width
=-
1
,
show_name
=
True
,
show_unit
=
None
,
show_dtype
=
False
,
align
=
"<"
)
if
outs
[
'show_length'
]:
lines
.
append
(
f
'Length =
{
len
(
self
)
}
rows'
)
return
"
\n
"
.
join
(
lines
)
return
f
"[
{
self
.
summary
}
]
\n
"
.
join
(
lines
)
@
property
def
summary
(
self
):
return
f
"("
\
f
"
{
len
(
self
)
}
alleged, "
\
return
f
"
{
len
(
self
)
}
alleged, "
\
f
"
{
len
(
self
)
-
sum
(
self
.
to_table
()[
'existence'
])
}
missing, "
\
f
"
{
sum
(
self
.
to_table
()[
'existence'
])
}
to be pushed"
\
f
")"
f
"
{
sum
(
self
.
to_table
()[
'existence'
])
}
to db"
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment