Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
brivas
mdf_reader
Commits
2f3b546e
Commit
2f3b546e
authored
5 years ago
by
iregon
Browse files
Options
Download
Email Patches
Plain Diff
Adpated to renamed schemas package (data_models)
parent
d79d306b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
properties.py
properties.py
+1
-1
No files found.
properties.py
View file @
2f3b546e
...
@@ -11,7 +11,7 @@ import pandas as pd
...
@@ -11,7 +11,7 @@ import pandas as pd
# Supported formats, sources and internal data models -------------------------
# Supported formats, sources and internal data models -------------------------
schema_path
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'
schema
s'
,
'lib'
)
schema_path
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'
data_model
s'
,
'lib'
)
supported_data_models
=
[
os
.
path
.
basename
(
x
).
split
(
"."
)[
0
]
for
x
in
glob
.
glob
(
schema_path
+
'/*/*.json'
)
if
os
.
path
.
basename
(
x
).
split
(
"."
)[
0
]
==
os
.
path
.
dirname
(
x
).
split
(
"/"
)[
-
1
]]
supported_data_models
=
[
os
.
path
.
basename
(
x
).
split
(
"."
)[
0
]
for
x
in
glob
.
glob
(
schema_path
+
'/*/*.json'
)
if
os
.
path
.
basename
(
x
).
split
(
"."
)[
0
]
==
os
.
path
.
dirname
(
x
).
split
(
"/"
)[
-
1
]]
# Data types ------------------------------------------------------------------
# Data types ------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
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