Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
a99c2129
Commit
a99c2129
authored
May 22, 2024
by
liukaiwen
Browse files
分段代码规范化
parent
b7a2f547
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
magic_pdf/pre_proc/equations_replace.py
magic_pdf/pre_proc/equations_replace.py
+1
-1
No files found.
magic_pdf/pre_proc/equations_replace.py
View file @
a99c2129
...
@@ -449,7 +449,7 @@ def replace_inline_equations(inline_equation_bboxes, raw_text_blocks):
...
@@ -449,7 +449,7 @@ def replace_inline_equations(inline_equation_bboxes, raw_text_blocks):
for
blk
in
raw_text_blocks
:
for
blk
in
raw_text_blocks
:
if
_is_xin
(
eqbox
,
blk
[
"bbox"
]):
if
_is_xin
(
eqbox
,
blk
[
"bbox"
]):
if
not
replace_eq_blk
(
eqinfo
,
blk
):
if
not
replace_eq_blk
(
eqinfo
,
blk
):
logger
.
error
(
f
"行内公式没有替换成功:
{
eqinfo
}
"
)
logger
.
warning
(
f
"行内公式没有替换成功:
{
eqinfo
}
"
)
else
:
else
:
break
break
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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