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
7d4e51cd
Commit
7d4e51cd
authored
4 months ago
by
I. Nüske
Browse files
Options
Downloads
Patches
Plain Diff
STY: Style fixes
parent
3b55e553
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!128
MNT: Added a warning when column metadata is not configured, and a better...
,
!120
XLSX-Konverter: Bessere Fehlermeldung bei inkorrektem Typ in Spalte, zusätzlicher Spalte
Pipeline
#57497
passed
4 months ago
Stage: setup
Stage: cert
Stage: style
Stage: unittest
Stage: integrationtest
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/caosadvancedtools/table_json_conversion/convert.py
+2
-2
2 additions, 2 deletions
src/caosadvancedtools/table_json_conversion/convert.py
with
2 additions
and
2 deletions
src/caosadvancedtools/table_json_conversion/convert.py
+
2
−
2
View file @
7d4e51cd
...
...
@@ -28,7 +28,7 @@ import sys
from
functools
import
reduce
from
operator
import
getitem
from
types
import
SimpleNamespace
from
typing
import
Any
,
BinaryIO
,
Callable
,
TextIO
,
Union
from
typing
import
Any
,
BinaryIO
,
Callable
,
TextIO
,
Union
,
Optional
from
warnings
import
warn
import
jsonschema
...
...
@@ -430,7 +430,7 @@ class XLSXConverter:
try
:
subschema
=
self
.
_get_subschema
(
path
)
except
KeyError
as
e
:
raise
KeyError
(
"
There is no entry in the schema that corresponds to this column.
"
)
raise
KeyError
(
"
There is no entry in the schema that corresponds to this column.
"
)
from
e
# Array handling only if schema says it's an array.
if
subschema
.
get
(
"
type
"
)
==
"
array
"
:
array_type
=
subschema
[
"
items
"
][
"
type
"
]
...
...
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