From 881c35fd2c97dfbc30032888baf90e5c02e57d60 Mon Sep 17 00:00:00 2001 From: rdk Date: Wed, 10 Apr 2024 04:00:16 +0200 Subject: [PATCH] fix groovy private access bug --- distro/README.md | 2 +- src/main/groovy/cz/siret/prank/program/ml/Model.groovy | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/distro/README.md b/distro/README.md index 9cd03828..c1951da8 100644 --- a/distro/README.md +++ b/distro/README.md @@ -20,7 +20,7 @@ Version 2.4 adds support for `.cif` input and contains a special profile for pre ### Requirements -* Java 11 to 22 +* Java 11 to 21 * PyMOL 1.7 (or newer) for viewing visualizations (optional) P2Rank is tested on Linux, macOS, and Windows. diff --git a/src/main/groovy/cz/siret/prank/program/ml/Model.groovy b/src/main/groovy/cz/siret/prank/program/ml/Model.groovy index 1cdaa86d..98a9db6e 100644 --- a/src/main/groovy/cz/siret/prank/program/ml/Model.groovy +++ b/src/main/groovy/cz/siret/prank/program/ml/Model.groovy @@ -7,6 +7,7 @@ import cz.siret.prank.utils.Console import cz.siret.prank.utils.Cutils import cz.siret.prank.utils.Futils import cz.siret.prank.utils.WekaUtils +import groovy.transform.CompileDynamic import groovy.transform.CompileStatic import hr.irb.fastRandomForest.FastRandomForest import weka.classifiers.Classifier @@ -95,6 +96,7 @@ class Model { return new Model(label, classifier) } + @CompileDynamic Info getInfo() { Info info = new Info()