-
Notifications
You must be signed in to change notification settings - Fork 80
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
Should newlines be allowed on metadata upload #3149
Comments
Thank you for reporting. A couple of questions:
|
$ grep -v "^10317" 10317_20210930-123208.txt | cut -c 1-20 | head
sample_name acid_ref
fresh water fish: Se
fresh water fish: Se
fresh water fish: Se
fresh water fish: Se
fresh water fish: Se
Note: CAT died very
have had diarrhea 2-
felt nauseous 2 time
Chickens
|
I can confirm this issue and figured out why this is happening: the REST endpoint is not calling We basically would need to replace this line here: data = qiita_db.metadata_template.util.load_template_to_dataframe(self.request.body) |
Okay cool. Let's see if #3152 does it |
wasade
added a commit
that referenced
this issue
Oct 15, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I recently pushed metadata to Qiita which unbeknownst to me contained newlines in some cells. I discovered this when downloading the pushed metadata after, and observed what appeared to be incorrect sample names in the resulting tab delimited file, coming from the contained newlines.
Should Qiita detect and error, or detect and replace, newline characters prior to accepting metadata updates?
The text was updated successfully, but these errors were encountered: