Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
grompy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
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
Kallenberg, Michiel
grompy
Commits
b0fefd04
Commit
b0fefd04
authored
4 years ago
by
Wit, Allard de
Browse files
Options
Downloads
Patches
Plain Diff
Fixed a few problems in the grompy.DataAccessProvider
bumped to version 1.1.1
parent
b040846d
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
grompy/__init__.py
+1
-1
1 addition, 1 deletion
grompy/__init__.py
grompy/dap.py
+2
-2
2 additions, 2 deletions
grompy/dap.py
notebooks/Untitled.ipynb
+0
-446
0 additions, 446 deletions
notebooks/Untitled.ipynb
with
3 additions
and
449 deletions
grompy/__init__.py
+
1
−
1
View file @
b0fefd04
...
...
@@ -7,4 +7,4 @@ from .dap import DataAccessProvider
from
.cmd
import
cli
__version__
=
"
1.1.0
"
\ No newline at end of file
__version__
=
"
1.1.1
"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
grompy/dap.py
+
2
−
2
View file @
b0fefd04
...
...
@@ -36,7 +36,7 @@ class DataAccessProvider:
self
.
datasets_enabled
=
set
(
self
.
datasets
)
# Build connection to parcel info
self
.
engine
=
sa
.
create_engine
(
self
.
parcel_dsn
)
self
.
engine
=
open_DB_connection
(
grompy_yaml
,
self
.
parcel_dsn
)
meta
=
sa
.
MetaData
(
self
.
engine
)
self
.
tbl_perc_info
=
sa
.
Table
(
self
.
parcel_table
,
meta
,
autoload
=
True
)
self
.
limit
=
int
(
1e9
)
if
limit
is
None
else
limit
...
...
@@ -68,7 +68,7 @@ class DataAccessProvider:
"""
Enables a dataset for reading with grompy..
"""
if
dataset
in
self
.
datasets
:
self
.
datasets_enabled
.
update
(
dataset
)
self
.
datasets_enabled
.
add
(
dataset
)
else
:
print
(
f
"'
{
dataset
}
'
unknown, should be one of:
{
self
.
datasets
}
"
)
...
...
This diff is collapsed.
Click to expand it.
notebooks/Untitled.ipynb
deleted
100644 → 0
+
0
−
446
View file @
b040846d
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