You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sometimes a TEI element is blank, and sometimes there's an inadvertent space in a spreadsheet. When that happens we get a "No Label" entry on the orchid side
a better default would probably be to look for empty items (once all newlines, spaces, and tabs are stripped out) and then post.
We could use active support and the .blank? method, but I have a function to do it as well:
I addressed this by changing the get_text and get_list methods (which use Nokogiri to query the XML) to return nil instead of blank when the xpath does not match. However, this still requires nil checks in the data repos and is a breaking change.
sometimes a TEI element is blank, and sometimes there's an inadvertent space in a spreadsheet. When that happens we get a "No Label" entry on the orchid side
a better default would probably be to look for empty items (once all newlines, spaces, and tabs are stripped out) and then post.
We could use active support and the
.blank?
method, but I have a function to do it as well:The text was updated successfully, but these errors were encountered: