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
fb968792
Commit
fb968792
authored
Nov 08, 2022
by
BO ZHANG
🏀
Browse files
added fr.summary property
parent
e326165c
Changes
1
Show whitespace changes
Inline
Side-by-side
csst_common/file_recorder.py
View file @
fb968792
...
...
@@ -91,3 +91,11 @@ class FileRecorder(list):
if
outs
[
'show_length'
]:
lines
.
append
(
f
'Length =
{
len
(
self
)
}
rows'
)
return
"
\n
"
.
join
(
lines
)
@
property
def
summary
(
self
):
return
f
"("
\
f
"
{
len
(
self
)
}
alleged, "
\
f
"
{
len
(
self
)
-
sum
(
self
.
to_table
()[
'existence'
])
}
missing, "
\
f
"
{
sum
(
self
.
to_table
()[
'existence'
])
}
to be pushed"
\
f
")"
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