Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-advanced-user-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-advanced-user-tools
Commits
9811716b
Commit
9811716b
authored
4 years ago
by
Henrik tom Wörden
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: minor logging and fix
parent
c889e010
No related branches found
No related tags found
1 merge request
!22
Release 0.3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/caosadvancedtools/crawler.py
+6
-4
6 additions, 4 deletions
src/caosadvancedtools/crawler.py
src/caosadvancedtools/table_importer.py
+4
-0
4 additions, 0 deletions
src/caosadvancedtools/table_importer.py
with
10 additions
and
4 deletions
src/caosadvancedtools/crawler.py
+
6
−
4
View file @
9811716b
...
...
@@ -195,8 +195,9 @@ class Crawler(object):
logger
.
debug
(
"
{} matched
\n
{}.
"
.
format
(
Cfood
.
__name__
,
item
))
except
DataInconsistencyError
:
pass
except
DataInconsistencyError
as
e
:
logger
.
debug
(
traceback
.
format_exc
())
logger
.
debug
(
e
)
except
Exception
as
e
:
logger
.
debug
(
"
Failed during execution of {}!
"
.
format
(
Cfood
.
__name__
))
...
...
@@ -279,8 +280,9 @@ class Crawler(object):
cfood
.
update_identifiables
()
self
.
push_identifiables_to_CaosDB
(
cfood
)
except
DataInconsistencyError
:
pass
except
DataInconsistencyError
as
e
:
logger
.
debug
(
traceback
.
format_exc
())
logger
.
debug
(
e
)
except
Exception
as
e
:
logger
.
info
(
"
Failed during execution of {}!
"
.
format
(
cfood
.
__class__
.
__name__
))
...
...
This diff is collapsed.
Click to expand it.
src/caosadvancedtools/table_importer.py
+
4
−
0
View file @
9811716b
...
...
@@ -87,7 +87,11 @@ def win_path_list_converter(val):
checks whether the value looks like a list of windows paths and converts
it to posix paths
"""
if
pd
.
isnull
(
val
):
return
[]
paths
=
val
.
split
(
"
,
"
)
return
[
win_path_converter
(
p
)
for
p
in
paths
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment