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
e326165c
Commit
e326165c
authored
Nov 08, 2022
by
BO ZHANG
🏀
Browse files
fr alignment set to "<"
parent
372e3f11
Changes
1
Show whitespace changes
Inline
Side-by-side
csst_common/file_recorder.py
View file @
e326165c
...
@@ -87,7 +87,7 @@ class FileRecorder(list):
...
@@ -87,7 +87,7 @@ class FileRecorder(list):
def
__repr__
(
self
):
def
__repr__
(
self
):
t
=
self
.
to_table
()
t
=
self
.
to_table
()
lines
,
outs
=
t
.
formatter
.
_pformat_table
(
lines
,
outs
=
t
.
formatter
.
_pformat_table
(
t
,
max_lines
=-
1
,
max_width
=-
1
,
show_name
=
True
,
show_unit
=
None
,
show_dtype
=
False
,
align
=
None
)
t
,
max_lines
=-
1
,
max_width
=-
1
,
show_name
=
True
,
show_unit
=
None
,
show_dtype
=
False
,
align
=
"<"
)
if
outs
[
'show_length'
]:
if
outs
[
'show_length'
]:
lines
.
append
(
f
'Length =
{
len
(
self
)
}
rows'
)
lines
.
append
(
f
'Length =
{
len
(
self
)
}
rows'
)
return
"
\n
"
.
join
(
lines
)
return
"
\n
"
.
join
(
lines
)
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