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

Bug fix for tx fetching #305

Merged
merged 4 commits into from
Sep 24, 2024
Merged

Bug fix for tx fetching #305

merged 4 commits into from
Sep 24, 2024

Conversation

PennyHow
Copy link
Member

@PennyHow PennyHow commented Sep 23, 2024

Two changes:

  1. There is a bug in the tx fetching, where pypromice.tx.tx.sortLines() attempts to sort transmissions and save to a new file (which then replaces the old file). However, if no new lines are appended then the function will still try to save to a new file, which creates the bug. To solve this, I have indented the file replace routine, so that it is only triggered if the transmissions have been sorted
  2. I have removed pypromice.tx.get_watsontx as this is outside of pypromice's main focus on AWS processing

@PennyHow PennyHow added the bug Something isn't working label Sep 23, 2024
@PennyHow PennyHow requested a review from ladsmund September 23, 2024 15:13
@PennyHow PennyHow changed the base branch from main to develop September 23, 2024 15:13
@PennyHow PennyHow merged commit bbdb0bd into develop Sep 24, 2024
6 checks passed
@PennyHow PennyHow deleted the bugfix/watson-tx branch September 24, 2024 13:09
PennyHow added a commit that referenced this pull request Sep 24, 2024
* Bug fix for tx fetching (#305)

* Indentation change

* Moved from pypromice to separate processing pipeline

* version bump
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant