return eml_validate check in eml_otherEntity_to_dataTable#154
return eml_validate check in eml_otherEntity_to_dataTable#154dmullen17 merged 3 commits intoNCEAS:masterfrom
Conversation
|
Hey Dominic I need to look closer at the second commit you made but probably won't have time this week. Did you test the case where you already have a bunch of dataTables, and want to convert a single otherEntity to a dataTable? I'm also not really sure what lines 718-721 are doing - seems like duplicate entities from the editor should be handled elsewhere if that is what it is doing |
|
@jeanetteclark this what I mean by duplicate otherEntities created by the editor https://test.arcticdata.io/view/urn:uuid:d2710caa-9d77-4744-a76a-36a3e94705b7. I didn't phrase it well and if you can improve on that definitely update the comment because that code isn't self-explanatory. Here's an example of the error I was getting. It wasn't showing up before because when |
jeanetteclark
left a comment
There was a problem hiding this comment.
Super minor change that can be committed directly - you were right @dmullen17 this was necessary. I think the comment in the code confused me about what was actually happening.
Co-Authored-By: Jeanette Clark <jclark@nceas.ucsb.edu>
return eml_validate check in eml_otherEntity_to_dataTable
I found that this function doesn't return an error if the
eml_validatecheck fails. Adding this in @jeanetteclark if you want to give it a quick review. Curious to see if any of the unit tests fail now as well.