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
840e25d0
Unverified
Commit
840e25d0
authored
May 22, 2024
by
myhloli
Committed by
GitHub
May 22, 2024
Browse files
Merge pull request #113 from papayalove/master
公式替换日志修改
parents
b7a2f547
a99c2129
Changes
1
Show 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 @
840e25d0
...
@@ -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