Skip to content

Commit

Permalink
fix link ML version for disease annotation to use the one global vari…
Browse files Browse the repository at this point in the history
…able
  • Loading branch information
cmpich committed Nov 10, 2023
1 parent df5d7bb commit d328596
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion agr.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ task createGPI2File(type: JavaExec) {
task createDiseaseInfoLinkMLFile(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.marker.agr.DiseaseAnnotationLinkMLInfo'
args 'v1.7.3'
}

task createDiseaseInfoFile(type: JavaExec) {
Expand Down
6 changes: 1 addition & 5 deletions source/org/zfin/marker/agr/DiseaseAnnotationLinkMLInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,12 @@ public DiseaseAnnotationLinkMLInfo(int number) {
}

public static void main(String[] args) throws IOException {
String linkMlVersion = null;
int number = 0;
if (args.length > 0) {
linkMlVersion = args[0];
}
if (args.length > 1) {
number = Integer.parseInt(args[1]);
}
DiseaseAnnotationLinkMLInfo diseaseInfo = new DiseaseAnnotationLinkMLInfo(number);
diseaseInfo.init(linkMlVersion);
diseaseInfo.init(LINK_ML_VERSION);
System.exit(0);
}

Expand Down

0 comments on commit d328596

Please sign in to comment.