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
a8747f1d
Commit
a8747f1d
authored
Jun 10, 2025
by
myhloli
Browse files
refactor: comment out warning logs for missing config values in config_reader.py
parent
81554804
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mineru/utils/config_reader.py
mineru/utils/config_reader.py
+2
-2
No files found.
mineru/utils/config_reader.py
View file @
a8747f1d
...
@@ -101,7 +101,7 @@ def get_latex_delimiter_config():
...
@@ -101,7 +101,7 @@ def get_latex_delimiter_config():
config
=
read_config
()
config
=
read_config
()
latex_delimiter_config
=
config
.
get
(
'latex-delimiter-config'
)
latex_delimiter_config
=
config
.
get
(
'latex-delimiter-config'
)
if
latex_delimiter_config
is
None
:
if
latex_delimiter_config
is
None
:
logger
.
warning
(
f
"'latex-delimiter-config' not found in
{
CONFIG_FILE_NAME
}
, use 'None' as default"
)
#
logger.warning(f"'latex-delimiter-config' not found in {CONFIG_FILE_NAME}, use 'None' as default")
return
None
return
None
else
:
else
:
return
latex_delimiter_config
return
latex_delimiter_config
...
@@ -111,7 +111,7 @@ def get_llm_aided_config():
...
@@ -111,7 +111,7 @@ def get_llm_aided_config():
config
=
read_config
()
config
=
read_config
()
llm_aided_config
=
config
.
get
(
'llm-aided-config'
)
llm_aided_config
=
config
.
get
(
'llm-aided-config'
)
if
llm_aided_config
is
None
:
if
llm_aided_config
is
None
:
logger
.
warning
(
f
"'llm-aided-config' not found in
{
CONFIG_FILE_NAME
}
, use 'None' as default"
)
#
logger.warning(f"'llm-aided-config' not found in {CONFIG_FILE_NAME}, use 'None' as default")
return
None
return
None
else
:
else
:
return
llm_aided_config
return
llm_aided_config
...
...
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