Skip to content

Commit 02f115b

Browse files
authored
Merge NJ3 modifications and code cleanup
2 parents 9fa3017 + d7bc070 commit 02f115b

136 files changed

Lines changed: 10696 additions & 10802 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/maven.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@ jobs:
77
runs-on : ubuntu-latest
88
steps :
99
- name: Checkout
10-
uses: actions/checkout@v3
10+
uses: actions/checkout@v4
1111
with:
1212
fetch-depth: 0
1313
- name: Checkout NJ-image-test
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515
with:
16-
repository: GReD-Clermont/NucleusJ2-tests-images
16+
repository: GReD-Clermont/NucleusJ-tests-images
1717
ref: 'v1'
1818
path: test-images
1919
- name: Set up JDK 11
20-
uses: actions/setup-java@v3
20+
uses: actions/setup-java@v4
2121
with:
2222
java-version: '11'
2323
distribution: 'adopt'
2424
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
2525
settings-path: ${{ github.workspace }} # location for the settings.xml file
2626
- name: Cache Maven packages
27-
uses: actions/cache@v3
27+
uses: actions/cache@v4
2828
with:
2929
path: ~/.m2
3030
key: ${{ runner.os }}-m2-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/pom.xml') }}
@@ -39,7 +39,7 @@ jobs:
3939
- name : Package and test
4040
run: mvn clean package
4141
- name: Upload Artifact
42-
uses: actions/upload-artifact@v3
42+
uses: actions/upload-artifact@v4
4343
with:
4444
path: target
4545
deploy:
@@ -48,18 +48,18 @@ jobs:
4848
runs-on : ubuntu-latest
4949
steps:
5050
- name: Checkout
51-
uses: actions/checkout@v3
51+
uses: actions/checkout@v4
5252
with:
5353
fetch-depth: 0
5454
- name: Set up JDK 11
55-
uses: actions/setup-java@v3
55+
uses: actions/setup-java@v4
5656
with:
5757
java-version: '11'
5858
distribution: 'adopt'
5959
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
6060
settings-path: ${{ github.workspace }} # location for the settings.xml file
6161
- name: Cache Maven packages
62-
uses: actions/cache@v3
62+
uses: actions/cache@v4
6363
with:
6464
path: ~/.m2
6565
key: ${{ runner.os }}-m2-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/pom.xml') }}

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ image: maven:3-jdk-8
33
variables:
44
CI_PROJECT_PATH: "ReightI/test-nucleusj-ci-cd"
55
API_IMAGE_NAME: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
6-
VERSION: "2.0.1"
6+
VERSION: "3.0.0-SNAPSHOT"
77

88
stages:
99
- compile

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
# NucleusJ2.0
1+
# NucleusJ 3.0
22

3-
4-
NucleusJ 2.0 is a new release of [NucleusJ](https://github.com/PouletAxel/NucleusJ_), in which image processing is achieved more quickly using a command-line user interface. Starting with large collection of 3D nuclei, segmentation can be performed by the previously developed Otsu-modified method or by a new 3D gift-wrapping method, taking better account of nuclear indentations and unmarked nucleoli.
3+
NucleusJ 3.0 is a new release of [NucleusJ](https://github.com/PouletAxel/NucleusJ_), in which image processing is achieved more quickly using a command-line user interface. Starting with large collection of 3D nuclei, segmentation can be performed by the previously developed Otsu-modified method or by a new 3D gift-wrapping method, taking better account of nuclear indentations and unmarked nucleoli.
54

65
A discrete geometric method was introduced to improve the surface area calculation, a key parameter when studying nuclear morphology, replacing an imageJ default tool by a new one that includes pixel context information.
76

@@ -15,9 +14,9 @@ The gift wrapping algorithm has been replaced by a graham scan algorithm which i
1514

1615
# Download and manual user links
1716

18-
Download the latest version: [jar](https://github.com/GReD-Clermont/NucleusJ2/releases/latest)
17+
Download the latest version: [jar](https://github.com/GReD-Clermont/NucleusJ/releases/latest)
1918

20-
Manual user and examples: [wiki](https://github.com/GReD-Clermont/NucleusJ2/wiki)
19+
Manual user and examples: [wiki](https://github.com/GReD-Clermont/NucleusJ/wiki)
2120

2221
# Authors & contact
2322

pom.xml

Lines changed: 21 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
http://maven.apache.org/xsd/maven-4.0.0.xsd">
66
<modelVersion>4.0.0</modelVersion>
77
<groupId>fr.igred</groupId>
8-
<artifactId>nucleusj_2</artifactId>
9-
<version>2.2.0-SNAPSHOT</version>
8+
<artifactId>nucleusj</artifactId>
9+
<version>3.0.0-SNAPSHOT</version>
1010

1111
<name>NucleusJ</name>
1212
<description>Ensemble of ImageJ plugins for nuclear analysis</description>
@@ -22,81 +22,81 @@
2222
<dependency>
2323
<groupId>fr.inra.ijpb</groupId>
2424
<artifactId>MorphoLibJ_</artifactId>
25-
<version>1.4.0</version>
25+
<version>1.6.4</version>
2626
</dependency>
2727
<!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
2828
<dependency>
2929
<groupId>commons-codec</groupId>
3030
<artifactId>commons-codec</artifactId>
31-
<version>1.11</version>
31+
<version>1.18.0</version>
3232
</dependency>
3333
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
3434
<dependency>
3535
<groupId>commons-io</groupId>
3636
<artifactId>commons-io</artifactId>
37-
<version>2.6</version>
37+
<version>2.19.0</version>
3838
</dependency>
3939
<!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
4040
<dependency>
4141
<groupId>commons-cli</groupId>
4242
<artifactId>commons-cli</artifactId>
43-
<version>1.4</version>
43+
<version>1.9.0</version>
4444
</dependency>
4545
<!-- https://mvnrepository.com/artifact/commons-lang/commons-lang -->
4646
<dependency>
47-
<groupId>commons-lang</groupId>
48-
<artifactId>commons-lang</artifactId>
49-
<version>2.6</version>
47+
<groupId>org.apache.commons</groupId>
48+
<artifactId>commons-lang3</artifactId>
49+
<version>3.17.0</version>
5050
</dependency>
5151
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
5252
<dependency>
5353
<groupId>org.slf4j</groupId>
5454
<artifactId>slf4j-api</artifactId>
55-
<version>1.7.30</version>
55+
<version>2.0.17</version>
5656
</dependency>
5757
<!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
5858
<dependency>
5959
<groupId>ch.qos.logback</groupId>
6060
<artifactId>logback-classic</artifactId>
61-
<version>1.2.3</version>
61+
<version>1.3.15</version>
6262
<scope>runtime</scope>
6363
<optional>true</optional>
6464
</dependency>
6565

66-
<!-- https://mvnrepository.com/artifact/ome/bioformats_plugins -->
66+
<!-- https://mvnrepository.com/artifact/ome/bio-formats_plugins -->
6767
<dependency>
6868
<groupId>ome</groupId>
6969
<artifactId>bio-formats_plugins</artifactId>
70-
<version>6.6.0</version>
70+
<version>8.2.0</version>
7171
</dependency>
7272
<!-- https://mvnrepository.com/artifact/ome/formats-api -->
7373
<dependency>
7474
<groupId>ome</groupId>
7575
<artifactId>formats-api</artifactId>
76-
<version>6.6.0</version>
76+
<version>8.2.0</version>
7777
</dependency>
7878
<!-- https://mvnrepository.com/artifact/sc.fiji/imagescience -->
7979
<dependency>
8080
<groupId>sc.fiji</groupId>
8181
<artifactId>imagescience</artifactId>
82-
<version>2.4.1</version>
82+
<version>3.0.0</version>
8383
</dependency>
8484
<!-- https://mvnrepository.com/artifact/net.imagej/ij -->
8585
<dependency>
8686
<groupId>net.imagej</groupId>
8787
<artifactId>ij</artifactId>
88-
<version>1.53i</version>
88+
<version>1.54p</version>
8989
</dependency>
9090
<dependency>
9191
<groupId>fr.igred</groupId>
9292
<artifactId>simple-omero-client</artifactId>
93-
<version>5.14.1</version>
93+
<version>5.19.0</version>
9494
</dependency>
9595
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
9696
<dependency>
9797
<groupId>org.junit.jupiter</groupId>
9898
<artifactId>junit-jupiter-api</artifactId>
99-
<version>5.7.1</version>
99+
<version>5.13.3</version>
100100
<scope>test</scope>
101101
</dependency>
102102
</dependencies>
@@ -191,27 +191,6 @@
191191
<target>8</target>
192192
</configuration>
193193
</plugin>
194-
<!--plugin>
195-
<artifactId>maven-deploy-plugin</artifactId>
196-
<executions>
197-
<execution>
198-
<goals>
199-
<goal>deploy-file</goal>
200-
</goals>
201-
<phase>deploy</phase>
202-
<configuration>
203-
<repositoryId>gitlab-maven</repositoryId>
204-
<url>https://gitlab.com/api/v4/projects/19044962/packages/maven</url>
205-
<file>target/NucleusJ_2-1.0.2-jar-with-dependencies.jar</file>
206-
<generatePom>false</generatePom>
207-
<uniqueVersion>false</uniqueVersion>
208-
<groupId>burp</groupId>
209-
<artifactId>NucleusJ_2</artifactId>
210-
<version>1.0.2</version>
211-
</configuration>
212-
</execution>
213-
</executions>
214-
</plugin-->
215194
</plugins>
216195
</pluginManagement>
217196
<plugins>
@@ -237,7 +216,6 @@
237216
</configuration>
238217
</plugin>
239218
</plugins>
240-
241219
</build>
242220

243221
<developers>
@@ -273,15 +251,15 @@
273251
<repository>
274252
<id>github</id>
275253
<name>GitHub GReD-Clermont Apache Maven Packages</name>
276-
<url>https://maven.pkg.github.com/GReD-Clermont/NucleusJ2</url>
254+
<url>https://maven.pkg.github.com/GReD-Clermont/NucleusJ</url>
277255
</repository>
278256
</distributionManagement>
279257

280258
<properties>
281259
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
282260
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
283-
<maven.compiler.source>7</maven.compiler.source>
284-
<maven.compiler.target>7</maven.compiler.target>
261+
<maven.compiler.source>8</maven.compiler.source>
262+
<maven.compiler.target>8</maven.compiler.target>
285263
</properties>
286264

287265
</project>

0 commit comments

Comments
 (0)