Skip to content

Commit

Permalink
fix groovy private access bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rdk committed Apr 10, 2024
1 parent 29f8150 commit 881c35f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion distro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions src/main/groovy/cz/siret/prank/program/ml/Model.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -95,6 +96,7 @@ class Model {
return new Model(label, classifier)
}

@CompileDynamic
Info getInfo() {

Info info = new Info()
Expand Down

0 comments on commit 881c35f

Please sign in to comment.