Skip to content

ENH: separate read_gpd kwargs into own variable#494

Merged
bifbof merged 3 commits into
mie-lab:masterfrom
bifbof:#409
Jul 30, 2023
Merged

ENH: separate read_gpd kwargs into own variable#494
bifbof merged 3 commits into
mie-lab:masterfrom
bifbof:#409

Conversation

@bifbof
Copy link
Copy Markdown
Collaborator

@bifbof bifbof commented Jul 29, 2023

closes #409

Split up kwargs into own variable.
Test already existed for this.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 29, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (eb7d6ce) 92.31% compared to head (e68a6b5) 92.31%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #494   +/-   ##
=======================================
  Coverage   92.31%   92.31%           
=======================================
  Files          39       39           
  Lines        2004     2004           
  Branches      340      340           
=======================================
  Hits         1850     1850           
  Misses        133      133           
  Partials       21       21           
Files Changed Coverage Δ
trackintel/io/postgis.py 95.60% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@NinaWie NinaWie self-requested a review July 30, 2023 11:42
Copy link
Copy Markdown
Member

@NinaWie NinaWie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking care of this! I have a few comments regarding the argument name and the default value, which I would set to rename_columns={} or so instead of the current state. Let me know if this makes sense :)

Comment thread trackintel/io/postgis.py
Comment thread trackintel/io/postgis.py Outdated
Comment thread trackintel/io/postgis.py
@NinaWie NinaWie self-requested a review July 30, 2023 16:12
Copy link
Copy Markdown
Member

@NinaWie NinaWie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As said in the comments, I think the current version is fine :)

@bifbof bifbof merged commit c4573e0 into mie-lab:master Jul 30, 2023
@bifbof bifbof deleted the #409 branch July 30, 2023 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot rename geometry column with postgis IO functions

2 participants