Commit 006f63e8 authored by reddyk's avatar reddyk
Browse files

fixed sourcefeaturecheck bug

parent 0aebe865
allprojects allprojects
{ {
ext.version_base = '1.1.262' ext.version_base = '1.1.263'
version = version_base version = version_base
tasks.withType(Javadoc).all { enabled = false } tasks.withType(Javadoc).all { enabled = false }
} }
...@@ -183,7 +183,7 @@ project(':embl-api-validator') { ...@@ -183,7 +183,7 @@ project(':embl-api-validator') {
manifest { manifest {
attributes ("Implementation-Title": "embl-api-validator", attributes ("Implementation-Title": "embl-api-validator",
"Implementation-Version":"1.1.262", "Implementation-Version":"1.1.263",
"Main-Class": "uk.ac.ebi.embl.api.validation.EnaValidator", "Main-Class": "uk.ac.ebi.embl.api.validation.EnaValidator",
"Built-By": System.getProperty('user.name'), "Built-By": System.getProperty('user.name'),
"Built-Date": new Date()) "Built-Date": new Date())
......
...@@ -112,7 +112,7 @@ public class SourceFeatureQualifierCheck extends EntryValidationCheck { ...@@ -112,7 +112,7 @@ public class SourceFeatureQualifierCheck extends EntryValidationCheck {
} }
if(focus>0||transgenic>0) if(focus>0&&transgenic>0)
{//focus not allowed when /transgenic is used {//focus not allowed when /transgenic is used
reportError(entry.getOrigin(), FOCUS_TRANSEGENIC_EXCLUDE_MESSAGE_ID); reportError(entry.getOrigin(), FOCUS_TRANSEGENIC_EXCLUDE_MESSAGE_ID);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment