Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
58d479f8
Commit
58d479f8
authored
2 years ago
by
BO ZHANG
Browse files
Options
Download
Email Patches
Plain Diff
added fr.is_good() to check existence of alleged files
parent
873890aa
dev
main
wangxia-main-patch-87026
zhaobowei-main-patch-61353
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
csst_common/file_recorder.py
+4
-0
csst_common/file_recorder.py
with
4 additions
and
0 deletions
+4
-0
csst_common/file_recorder.py
+
4
-
0
View file @
58d479f8
...
...
@@ -97,3 +97,7 @@ class FileRecorder(list):
return
f
"
{
len
(
self
)
}
alleged, "
\
f
"
{
len
(
self
)
-
sum
(
self
.
to_table
()[
'existence'
])
}
missing, "
\
f
"
{
sum
(
self
.
to_table
()[
'existence'
])
}
to db"
def
is_good
(
self
):
""" Check if all alleged files exist. """
return
all
(
self
.
to_table
()[
'existence'
])
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets