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

DATAUP-727: Fix an import spec parse bug re trailing separators #168

Merged
merged 7 commits into from
Mar 11, 2022

Conversation

MrCreosote
Copy link
Member

If an xSV file is opened and saved by Excel, it'll add trailing separators to
the end of the first header line. This fix ignores those separators.

If an xSV file is opened and saved by Excel, it'll add trailing separators to
the end of the first header line. This fix ignores those separators.
@MrCreosote MrCreosote requested a review from bio-boris March 10, 2022 22:37
@MrCreosote MrCreosote changed the base branch from master to develop March 10, 2022 22:37
@MrCreosote
Copy link
Member Author

MrCreosote commented Mar 10, 2022

I don't know what the heck is going on with the tests, they pass locally and the test that is failing is saying an ascii file that the tests write isn't a text file. I'm using the same function to write other files so this is odd.

@lgtm-com
Copy link

lgtm-com bot commented Mar 10, 2022

This pull request introduces 1 alert when merging 527cb8a into f0777a4 - view on LGTM.com

new alerts:

  • 1 for Unused import

@bio-boris
Copy link
Collaborator

bio-boris commented Mar 10, 2022

I get a failure locally

 ~/m/staging_service (dev-xsvparserbugfix) [1]> python --version                                                                            (base)
Python 3.9.6

Not quite sure why tests were passing everywhere up till now, or why
tests pass locally - maybe a `magic` update
@MrCreosote
Copy link
Member Author

@bio-boris ok, looks fixed

... maybe? Tests still don't pass on Boris's machine, this might fix it
@sonarcloud
Copy link

sonarcloud bot commented Mar 11, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@bio-boris
Copy link
Collaborator

LGTM

@bio-boris bio-boris merged commit 12e6f04 into develop Mar 11, 2022
@bio-boris bio-boris deleted the dev-xsvparserbugfix branch March 11, 2022 16: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.

2 participants