update
This commit is contained in:
@@ -400,17 +400,17 @@ function extractWineAttributes_1(a::T1, input::T2)::String where {T1<:agent, T2<
|
||||
#[PENDING] check if the following attributes has more than 1 name
|
||||
x = length(split(responsedict[:grape_variety], ",")) * length(split(responsedict[:grape_variety], "/"))
|
||||
if x > 1
|
||||
errornote = "Note: You can put only one name in grape_variety."
|
||||
errornote = "Note: You can put only one name in grape_variety. Pick one."
|
||||
error("only a single grape_variety name is allowed")
|
||||
end
|
||||
x = length(split(responsedict[:country], ",")) * length(split(responsedict[:country], "/"))
|
||||
if x > 1
|
||||
errornote = "Note: You can put only one name in country."
|
||||
errornote = "Note: You can put only one name in country. Pick one."
|
||||
error("only a single country name is allowed")
|
||||
end
|
||||
x = length(split(responsedict[:region], ",")) * length(split(responsedict[:region], "/"))
|
||||
if x > 1
|
||||
errornote = "Note: You can put only one name in region."
|
||||
errornote = "Note: You can put only one name in region. Pick one."
|
||||
error("only a single region name is allowed")
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user