Skip to content

Repair and log nancodes instead of rejecting files #733

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

Merged
merged 4 commits into from
Oct 5, 2021

Conversation

dshemetov
Copy link
Contributor

Closes #731

Prerequisites:

  • Unless it is a documentation hotfix it should be merged against the dev branch
  • Branch is up-to-date with the branch to be merged with, i.e. dev
  • Build is successful
  • Code is cleaned up and formatted

Summary

  • repair and log instead of rejecting files with invalid missing codes
  • introduce dtype inference code in acquisition to see if further refactors possible (see this comment)
  • refactor test_csv_uploading for readability

@dshemetov dshemetov force-pushed the acquisition_missing_logging branch from 19483f6 to 731b071 Compare October 5, 2021 07:05
* repair and log instead of rejecting files with invalid missing codes
* introduce dtype inference code in acquisition to see if further refactors possible
* refactor test_csv_uploading for readability
@dshemetov dshemetov force-pushed the acquisition_missing_logging branch from 731b071 to 5d9aee7 Compare October 5, 2021 07:06
Copy link
Contributor

@krivard krivard left a comment

Choose a reason for hiding this comment

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

Looks good; I modified to pull dtype into a constant and some other small adjustments. take a look and let me know if they're friendly?

@dshemetov
Copy link
Contributor Author

lgtm. the int conversion at the end of floaty_int is probably not needed, since round returns an int type, but it is more clear that way (I didn't expect round to return an int until i checked).

Copy link
Contributor

@krivard krivard left a comment

Choose a reason for hiding this comment

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

👍

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.

Acquisition and error-checking
2 participants