Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved geopandas file load out of constructor #337

Merged
merged 4 commits into from
Sep 21, 2023

Conversation

jdesanto
Copy link
Contributor

@jdesanto jdesanto commented Sep 19, 2023

ADSDataset fails without geopandas installation because its parent class PandasDataset attempts to load a file using geopandas in the constructor. The file is only used in a plot method. This PR moves the geopandas load to the plot routine where it used and adds protection so that it will only be loaded once.

There are no functionality changes.

Jira: https://jira.oci.oraclecorp.com/browse/ODSC-47518

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 19, 2023
@github-actions
Copy link

📌 Cov diff with main:

No success to gather report. 😿

📌 Overall coverage:

No success to gather report. 😿

@github-actions
Copy link

📌 Cov diff with main:

No success to gather report. 😿

📌 Overall coverage:

No success to gather report. 😿

darenr
darenr previously approved these changes Sep 19, 2023
@jdesanto jdesanto requested a review from liudmylaru September 20, 2023 07:38
@github-actions
Copy link

📌 Cov diff with main:

Coverage-50%

📌 Overall coverage:

Coverage-30.56%

@jdesanto jdesanto requested a review from lu-ohai September 21, 2023 21:01
@liudmylaru liudmylaru requested a review from mrDzurb September 21, 2023 21:01
@github-actions
Copy link

📌 Cov diff with main:

Coverage-50%

📌 Overall coverage:

Coverage-71.19%

@jdesanto jdesanto merged commit f1c5390 into main Sep 21, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants