"Low molecular weight form of human urokinase, that consists of an A chain of 2,000 daltons linked by a sulfhydryl bond to a B chain of 30,400 daltons. Recombinant urokinase plasminogen activator");
"Low molecular weight form of human urokinase, that consists of an A chain of 2,000 daltons linked "
+"by a sulfhydryl bond to a B chain of 30,400 daltons. Recombinant urokinase plasminogen activator");
assertTrue(res);
assertEquals(10,test.getTargets().size());
assertNull(test.getApproved());
...
...
@@ -105,7 +106,10 @@ public class DrugbankParserTest extends AnnotationTestFunctions {
"Aluminum hydroxide is an inorganic salt used as an antacid. It is a basic compound that acts by neutralizing hydrochloric acid in gastric secretions. Subsequent increases in pH may inhibit the action of pepsin. An increase in bicarbonate ions and prostaglandins may also confer cytoprotective effects."));
"Aluminum hydroxide is an inorganic salt used as an antacid. "
+"It is a basic compound that acts by neutralizing hydrochloric acid in gastric secretions. "
+"Subsequent increases in pH may inhibit the action of pepsin. "
+"An increase in bicarbonate ions and prostaglandins may also confer cytoprotective effects."));
@@ -113,7 +113,8 @@ public enum ConfigurationElementType {
* Max number of results in search box.
*/
SEARCH_RESULT_NUMBER(
"Max number of results (this value indicates the max number of elements that will be returned from search - not the number of aggregated elements in the search box).",
"Max number of results (this value indicates the max number of elements that will be returned from search"
+" - not the number of aggregated elements in the search box).",
GOOGLE_MAPS_API_KEY("By providing this Google Maps Platform API key I declare that I am aware that "
+"I am a Customer of the Google Maps Platform and I agree to the terms of the <a href=\"https://cloud.google.com/maps-platform/terms/\" target='_blank'>license of Google Maps Platform</a>."
+"I am a Customer of the Google Maps Platform and I agree to the terms of the "
+"<a href=\"https://cloud.google.com/maps-platform/terms/\" target='_blank'>license of Google Maps Platform</a>."
+"In particular, I warrant that neither any of the maps nor publicly available data overlays "
+"(\"General overlays\") on this MINERVA server contain Protected Health Information (as defined in and subject to HIPAA).",
@@ -51,7 +51,8 @@ public class DataOverlayDao extends BaseDao<DataOverlay> {
+" where element.model in :maps and entry.dataOverlay.id = :overlayId "
+" and (lower(element.name) = lower(entry.name) or entry.name ='' or entry.name is null) "
+" and (lower(element.model.name) = lower(entry.modelName) or entry.modelName='' or entry.modelName is null) "
+" and (entry_miriam is null or (entry_miriam.dataType = element_miriam.dataType and lower(entry_miriam.resource) = lower(element_miriam.resource)) ) "
+" and (entry_miriam is null or "
+" (entry_miriam.dataType = element_miriam.dataType and lower(entry_miriam.resource) = lower(element_miriam.resource)) ) "
+" and (compartment is null or"
+" element.compartment.id in (select id from "+Element.class.getSimpleName()
+" compartment_element where lower(compartment_element.name) = lower(compartment) and compartment_element.model in :maps)) "
...
...
@@ -96,7 +97,8 @@ public class DataOverlayDao extends BaseDao<DataOverlay> {
+" where reaction.model in :maps and entry.dataOverlay.id = :overlayId "
+" and (lower(reaction.name) = lower(entry.name) or entry.name ='' or entry.name is null) "
+" and (lower(reaction.model.name) = lower(entry.modelName) or entry.modelName='' or entry.modelName is null) "
+" and (entry_miriam is null or (entry_miriam.dataType = reaction_miriam.dataType and lower(entry_miriam.resource) = lower(reaction_miriam.resource)) ) "
+" and (entry_miriam is null or "
+" (entry_miriam.dataType = reaction_miriam.dataType and lower(entry_miriam.resource) = lower(reaction_miriam.resource)) ) "
+" and (lower(reaction.idReaction) = lower(entry.elementId) or entry.elementId='' or entry.elementId is null) ";
if(reactionIdentifiers.size()>0){
queryString+=" and (reaction.id in :reactionId) ";