Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
682c249d
Commit
682c249d
authored
Sep 15, 2021
by
Piotr Gawron
Browse files
order of javadoc tags should be correct
parent
0cc66184
Changes
2
Hide whitespace changes
Inline
Side-by-side
annotation/src/main/java/lcsb/mapviewer/annotation/services/ChEMBLParser.java
View file @
682c249d
...
...
@@ -85,9 +85,9 @@ public class ChEMBLParser extends DrugAnnotation implements IExternalService {
*/
private
static
final
String
PARENT_CHILD_API_URL_SUFFIX
=
".xml"
;
/**
* Url used for finding targets containing uniprot identifiers. Important -
for
* now the limit of targets is 1000 so if more targets will be found this
link
* will not provide them.
* Url used for finding targets containing uniprot identifiers. Important -
*
for
now the limit of targets is 1000 so if more targets will be found this
*
link
will not provide them.
*/
private
static
final
String
URL_TARGET_FROM_UNIPROT
=
"https://www.ebi.ac.uk/chembl/api/data/target?limit=1000&target_components__accession="
;
/**
...
...
@@ -107,7 +107,8 @@ public class ChEMBLParser extends DrugAnnotation implements IExternalService {
private
UniprotAnnotator
uniprotAnnotator
;
/**
* Service used for annotation of proteins (and finding annotation of proteins).
* Service used for annotation of proteins (and finding annotation of
* proteins).
*/
private
HgncAnnotator
hgncAnnotator
;
...
...
@@ -255,9 +256,9 @@ public class ChEMBLParser extends DrugAnnotation implements IExternalService {
*
* @param drugId
* identifier of a drug for which targets are looked
* @return list of targets for given drug
* @throws DrugSearchException
* thrown when there are problems with connection to ChEMBL database
* @return list of targets for given drug
*/
List
<
Target
>
getTargetsByDrugId
(
final
MiriamData
drugId
)
throws
DrugSearchException
{
if
(!
MiriamType
.
CHEMBL_COMPOUND
.
equals
(
drugId
.
getDataType
()))
{
...
...
checkstyle.xml
View file @
682c249d
...
...
@@ -261,12 +261,12 @@
<module
name=
"InvalidJavadocPosition"
/>
<module
name=
"JavadocTagContinuationIndentation"
/>
<module
name=
"JavadocParagraph"
/>
<!--
<module name="AtclauseOrder">
<module
name=
"AtclauseOrder"
>
<property
name=
"tagOrder"
value=
"@param, @return, @throws, @deprecated"
/>
<property
name=
"target"
value=
"CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"
/>
</module>
<module name="JavadocMethod">
<!--
<module name="JavadocMethod">
<property name="scope" value="public"/>
<property name="allowMissingParamTags" value="true"/>
<property name="allowMissingReturnTag" value="true"/>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment