Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
INB
eTRANSAFE
pretox-relation-extraction
Commits
36740921
Commit
36740921
authored
Oct 05, 2021
by
jcorvi
Browse files
Merge branch 'develop' into 'master'
Develop See merge request
!1
parents
bdb7f294
7355366e
Pipeline
#24915
passed with stage
in 6 seconds
Changes
6
Pipelines
2
Expand all
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
36740921
variables
:
DOCKER_
USER
:
javicorvi
DOCKER_BUILD
:
$DOCKER_
USER
/$CI_PROJECT_
NAME
:$CI_COMMIT_REF_NAME
DOCKER_
REGISTRY
:
registry.gitlab.bsc.es
IMAGE_FULL_PATH
:
$DOCKER_
REGISTRY
/$CI_PROJECT_
PATH
:$CI_COMMIT_REF_NAME
stages
:
-
build
build_docker_image
:
stage
:
build
only
:
-
tags
script
:
-
docker login -u
javicorvi -p $DOCKER_PASS
-
docker build -t $
DOCKER_BUILD
.
-
docker push $
DOCKER_BUILD
-
docker login -u
gitlab-ci-token -p $CI_BUILD_TOKEN $DOCKER_REGISTRY
-
docker build -t $
IMAGE_FULL_PATH
.
-
docker push $
IMAGE_FULL_PATH
tags
:
-
build
\ No newline at end of file
-
build
CHANGELOG
View file @
36740921
# Change Log
## Version 2.0, 2021-10-05
New release of the component, docker registry in registry.gitlab.bsc.es
## Version 1.0, 2020-03-03
First version of the component.
\ No newline at end of file
First version of the component.
README.md
View file @
36740921
ades
-relation-extraction
pretox
-relation-extraction
========================
<b>
Relation Extraction for Preclinical Adverse Drug Effect text-mining Project. DEPRECATED.
</b>
...
...
docker-build.sh
View file @
36740921
...
...
@@ -30,13 +30,13 @@ fi
mvn clean
install
-DskipTests
#rename jar
mv
target/
ades
-relation-extraction-0.0.1-SNAPSHOT-jar-with-dependencies.jar
ades
-relation-extraction-
${
ADES_RELATION_VERSION
}
.jar
mv
target/
pretox
-relation-extraction-0.0.1-SNAPSHOT-jar-with-dependencies.jar
pretox
-relation-extraction-
${
ADES_RELATION_VERSION
}
.jar
cat
>
/usr/local/bin/
ades
-relation-extraction
<<
EOF
cat
>
/usr/local/bin/
pretox
-relation-extraction
<<
EOF
#!/bin/sh
exec java
\$
JAVA_OPTS -jar "
${
ADES_RELATION_HOME
}
/
ades
-relation-extraction-
${
ADES_RELATION_VERSION
}
.jar" -workdir "
${
ADES_RELATION_HOME
}
" "
\$
@"
exec java
\$
JAVA_OPTS -jar "
${
ADES_RELATION_HOME
}
/
pretox
-relation-extraction-
${
ADES_RELATION_VERSION
}
.jar" -workdir "
${
ADES_RELATION_HOME
}
" "
\$
@"
EOF
chmod
+x /usr/local/bin/
ades
-relation-extraction
chmod
+x /usr/local/bin/
pretox
-relation-extraction
#delete target
rm
-R
target src pom.xml
...
...
pom.xml
View file @
36740921
...
...
@@ -3,11 +3,11 @@
<modelVersion>
4.0.0
</modelVersion>
<groupId>
es.bsc.inb.nlp
</groupId>
<artifactId>
ades
-relation-extraction
</artifactId>
<artifactId>
pretox
-relation-extraction
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<packaging>
jar
</packaging>
<name>
ades
-relation-extraction
</name>
<name>
pretox
-relation-extraction
</name>
<url>
http://maven.apache.org
</url>
<properties>
...
...
src/main/java/es/bsc/inb/ades/relation/extraction/main/App.java
View file @
36740921
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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