Skip to content

Commit 40b9ae7

Browse files
committed
Merge branch 'hotfix-1.1.3'
2 parents 49bca56 + 9d2073b commit 40b9ae7

14 files changed

Lines changed: 791 additions & 269 deletions

pom.xml

Lines changed: 48 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<name>baseCode</name>
66
<groupId>baseCode</groupId>
77
<artifactId>baseCode</artifactId>
8-
<version>1.1.2</version>
8+
<version>1.1.3</version>
99
<inceptionYear>2003</inceptionYear>
1010
<description>
1111
<![CDATA[Data structures, math and statistics tools, and utilities that are often needed across projects.]]>
@@ -49,7 +49,7 @@
4949
<dependency>
5050
<groupId>org.apache.poi</groupId>
5151
<artifactId>poi</artifactId>
52-
<version>5.1.0</version>
52+
<version>5.2.2</version>
5353
</dependency>
5454
<dependency>
5555
<groupId>colt</groupId>
@@ -71,7 +71,7 @@
7171
<dependency>
7272
<groupId>org.apache.commons</groupId>
7373
<artifactId>commons-configuration2</artifactId>
74-
<version>2.7</version>
74+
<version>2.8.0</version>
7575
</dependency>
7676
<dependency>
7777
<groupId>org.apache.commons</groupId>
@@ -93,7 +93,7 @@
9393
<dependency>
9494
<groupId>org.apache.httpcomponents</groupId>
9595
<artifactId>httpcore</artifactId>
96-
<version>4.4.14</version>
96+
<version>4.4.15</version>
9797
</dependency>
9898
<dependency>
9999
<groupId>org.apache.httpcomponents</groupId>
@@ -142,7 +142,7 @@
142142
<dependency>
143143
<groupId>org.slf4j</groupId>
144144
<artifactId>slf4j-api</artifactId>
145-
<version>1.7.32</version>
145+
<version>1.7.36</version>
146146
</dependency>
147147

148148
<!-- Jena -->
@@ -218,12 +218,13 @@
218218
<dependency>
219219
<groupId>xml-apis</groupId>
220220
<artifactId>xml-apis</artifactId>
221+
<!--suppress MavenPackageUpdate -->
221222
<version>1.4.01</version>
222223
</dependency>
223224
<dependency>
224225
<groupId>com.opencsv</groupId>
225226
<artifactId>opencsv</artifactId>
226-
<version>5.5.2</version>
227+
<version>5.6</version>
227228
</dependency>
228229

229230
<!-- Testing utilities -->
@@ -233,6 +234,24 @@
233234
<version>4.13.2</version>
234235
<scope>test</scope>
235236
</dependency>
237+
<dependency>
238+
<groupId>org.mockito</groupId>
239+
<artifactId>mockito-core</artifactId>
240+
<version>4.6.1</version>
241+
<scope>test</scope>
242+
</dependency>
243+
<dependency>
244+
<groupId>org.apache.logging.log4j</groupId>
245+
<artifactId>log4j-core</artifactId>
246+
<version>2.17.2</version>
247+
<scope>test</scope>
248+
</dependency>
249+
<dependency>
250+
<groupId>org.apache.logging.log4j</groupId>
251+
<artifactId>log4j-slf4j-impl</artifactId>
252+
<version>2.17.2</version>
253+
<scope>test</scope>
254+
</dependency>
236255
</dependencies>
237256
<build>
238257
<directory>target</directory>
@@ -267,10 +286,30 @@
267286
</testResource>
268287
</testResources>
269288
<plugins>
289+
<plugin>
290+
<groupId>org.apache.maven.plugins</groupId>
291+
<artifactId>maven-enforcer-plugin</artifactId>
292+
<version>1.4.1</version>
293+
<executions>
294+
<execution>
295+
<id>enforce-maven</id>
296+
<goals>
297+
<goal>enforce</goal>
298+
</goals>
299+
<configuration>
300+
<rules>
301+
<requireMavenVersion>
302+
<version>[3.0.5,)</version>
303+
</requireMavenVersion>
304+
</rules>
305+
</configuration>
306+
</execution>
307+
</executions>
308+
</plugin>
270309
<plugin>
271310
<groupId>com.amashchenko.maven.plugin</groupId>
272311
<artifactId>gitflow-maven-plugin</artifactId>
273-
<version>1.6.0</version>
312+
<version>1.16.0</version>
274313
<configuration>
275314
<!-- Do not push to remote -->
276315
<pushRemote>false</pushRemote>
@@ -280,7 +319,7 @@
280319
<productionBranch>master</productionBranch>
281320
<developmentBranch>development</developmentBranch>
282321
<releaseBranchPrefix>release-</releaseBranchPrefix>
283-
<versionTagPrefix></versionTagPrefix>
322+
<versionTagPrefix/>
284323
<origin>origin</origin>
285324
<!-- Unused for releasing -->
286325
<featureBranchPrefix>feature-</featureBranchPrefix>
@@ -363,7 +402,7 @@
363402
<plugin>
364403
<groupId>org.apache.maven.plugins</groupId>
365404
<artifactId>maven-javadoc-plugin</artifactId>
366-
<version>3.3.0</version>
405+
<version>3.3.1</version>
367406
<configuration>
368407
<quiet>true</quiet>
369408
<source>8</source>

src/ubic/basecode/math/linearmodels/LeastSquaresFit.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public LeastSquaresFit( DesignMatrix designMatrix, DoubleMatrix<String, String>
234234
* Preferred interface for weighted least squares fit between two matrices
235235
*
236236
* @param designMatrix
237-
* @param data
237+
* @param b the data
238238
* @param weights to be used in modifying the influence of the observations in vectorB.
239239
*/
240240
public LeastSquaresFit( DesignMatrix designMatrix, DoubleMatrix2D b, final DoubleMatrix2D weights ) {
@@ -338,7 +338,7 @@ public LeastSquaresFit( DoubleMatrix2D A, DoubleMatrix2D b, final DoubleMatrix2D
338338
}
339339

340340
/**
341-
* @param sample information that will be converted to a design matrix; intercept term is added.
341+
* @param sampleInfo information that will be converted to a design matrix; intercept term is added.
342342
* @param data Data matrix
343343
*/
344344
public LeastSquaresFit( ObjectMatrix<String, String, Object> sampleInfo, DenseDoubleMatrix2D data ) {
@@ -378,7 +378,7 @@ public LeastSquaresFit( ObjectMatrix<String, String, Object> sampleInfo, DenseDo
378378
/**
379379
* NamedMatrix allows easier handling of the results.
380380
*
381-
* @param sample information that will be converted to a design matrix; intercept term is added.
381+
* @param design information that will be converted to a design matrix; intercept term is added.
382382
* @param b Data matrix
383383
*/
384384
public LeastSquaresFit( ObjectMatrix<String, String, Object> design, DoubleMatrix<String, String> b ) {
@@ -396,7 +396,7 @@ public LeastSquaresFit( ObjectMatrix<String, String, Object> design, DoubleMatri
396396
/**
397397
* NamedMatrix allows easier handling of the results.
398398
*
399-
* @param sample information that will be converted to a design matrix; intercept term is added.
399+
* @param design information that will be converted to a design matrix; intercept term is added.
400400
* @param data Data matrix
401401
*/
402402
public LeastSquaresFit( ObjectMatrix<String, String, Object> design, DoubleMatrix<String, String> data,
@@ -756,9 +756,9 @@ protected List<GenericAnovaResult> anova() {
756756
/**
757757
* Provide results of limma eBayes algorithm. These will be used next time summarize is called on this.
758758
*
759-
* @param dfPrior
760-
* @param varPrior
761-
* @param varPost
759+
* @param d dfPrior
760+
* @param v varPrior
761+
* @param vp varPost
762762
*/
763763
protected void ebayesUpdate( double d, double v, DoubleMatrix1D vp ) {
764764
this.dfPrior = d;

0 commit comments

Comments
 (0)