Skip to content

Commit 2a6d219

Browse files
Merge branch 'main' of github.com:JaneliaSciComp/BigStitcher-Spark
2 parents 1144bcc + 44aa470 commit 2a6d219

29 files changed

+1179
-1016
lines changed

install

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ else
8181
fi
8282

8383

84-
VERSION="0.0.2-SNAPSHOT"
84+
VERSION="0.1.0-SNAPSHOT"
8585
INSTALL_DIR=$(pwd)
8686
#INSTALL_DIR=${1:-$(pwd)}
8787

@@ -129,6 +129,7 @@ install_command nonrigid-fusion "net.preibisch.bigstitcher.spark.SparkNonRigidFu
129129

130130
echo 'Installing utils ...'
131131

132+
install_command split-images "net.preibisch.bigstitcher.spark.SplitDatasets"
132133
install_command downsample "net.preibisch.bigstitcher.spark.SparkDownsample"
133134
install_command clear-interestpoints "net.preibisch.bigstitcher.spark.ClearInterestPoints"
134135
install_command clear-registrations "net.preibisch.bigstitcher.spark.ClearRegistrations"

pom.xml

Lines changed: 48 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
<parent>
77
<groupId>org.scijava</groupId>
88
<artifactId>pom-scijava</artifactId>
9-
<version>37.0.0</version>
9+
<version>39.0.0</version>
1010
<relativePath/>
1111
</parent>
1212

1313
<groupId>net.preibisch</groupId>
1414
<artifactId>BigStitcher-Spark</artifactId>
15-
<version>0.0.2-SNAPSHOT</version>
15+
<version>0.1.0-SNAPSHOT</version>
1616

1717
<name>BigStitcher Spark</name>
1818
<description>Spark-based parallel BigStitcher project.</description>
@@ -83,9 +83,31 @@
8383
<package-name>net.preibisch.bigstitcher.spark</package-name>
8484

8585
<!-- <scijava.jvm.version>1.8</scijava.jvm.version> -->
86-
<license.licenseName>gpl_v2</license.licenseName>
86+
<license.licenseName>bsd</license.licenseName>
8787
<license.copyrightOwners>Developers.</license.copyrightOwners>
88+
89+
<!--
90+
<imglib2.version>7.1.2</imglib2.version>
91+
<imglib2-realtransform.version>4.0.3</imglib2-realtransform.version>
92+
<imglib2-cache.version>1.0.0-beta-19</imglib2-cache.version>
93+
<imglib2-algorithm.version>0.16.0</imglib2-algorithm.version>
94+
<imglib2-roi.version>0.15.1</imglib2-roi.version>
95+
<n5-imglib2.version>7.0.2</n5-imglib2.version>
96+
<bigdataviewer-core.version>10.6.1</bigdataviewer-core.version>
97+
<bigdataviewer-vistools.version>1.0.0-beta-36</bigdataviewer-vistools.version>
98+
-->
99+
<!-- <n5-zarr.version>1.3.5</n5-zarr.version> -->
100+
101+
<bigdataviewer-core.version>10.6.3</bigdataviewer-core.version>
102+
<spim_data.version>2.3.5</spim_data.version>
103+
<multiview-reconstruction.version>5.0.0</multiview-reconstruction.version>
104+
<BigStitcher.version>2.3.0</BigStitcher.version>
105+
106+
<!--for the old bioformats to work properly (compared with old main branch to find out)-->
107+
<ome-codecs.version>0.3.0</ome-codecs.version>
108+
88109
</properties>
110+
89111
<repositories>
90112
<!-- NB: for project parent -->
91113
<repository>
@@ -101,56 +123,65 @@
101123
<dependency>
102124
<groupId>sc.fiji</groupId>
103125
<artifactId>bigdataviewer-core</artifactId>
104-
<version>10.4.6</version>
126+
<!-- <version>10.4.6</version> -->
105127
</dependency>
106128
<dependency>
107129
<groupId>sc.fiji</groupId>
108130
<artifactId>bigdataviewer-vistools</artifactId>
109-
<version>1.0.0-beta-32</version>
131+
<!-- <version>1.0.0-beta-32</version> -->
110132
</dependency>
111133
<dependency>
112134
<groupId>net.imglib2</groupId>
113135
<artifactId>imglib2-cache</artifactId>
114-
<version>1.0.0-beta-17</version>
136+
<!-- <version>1.0.0-beta-17</version> -->
115137
</dependency>
116138
<dependency>
117139
<groupId>net.imglib2</groupId>
118140
<artifactId>imglib2</artifactId>
119-
<version>6.3.0</version>
141+
<!-- <version>6.3.0</version> -->
120142
</dependency>
121143
<dependency>
122144
<groupId>net.imglib2</groupId>
123145
<artifactId>imglib2-algorithm</artifactId>
124-
<version>0.15.0</version>
146+
<!-- <version>0.15.0</version> -->
147+
</dependency>
148+
<dependency>
149+
<groupId>org.bigdataviewer</groupId>
150+
<artifactId>bigdataviewer-n5</artifactId>
151+
<version>1.0.1</version>
152+
<exclusions>
153+
<exclusion>
154+
<groupId>javax.annotation</groupId>
155+
<artifactId>javax.annotation-api</artifactId>
156+
</exclusion>
157+
</exclusions>
125158
</dependency>
126159
<dependency>
127160
<groupId>sc.fiji</groupId>
128161
<artifactId>spim_data</artifactId>
129162
</dependency>
130-
<dependency>
163+
<!-- <dependency>
131164
<groupId>com.amazonaws</groupId>
132165
<artifactId>aws-java-sdk-s3</artifactId>
133166
<version>${aws-java-sdk-s3.version}</version>
134-
</dependency>
135-
<dependency>
167+
</dependency> -->
168+
<!-- <dependency>
136169
<groupId>org.bigdataviewer</groupId>
137170
<artifactId>bigdataviewer-omezarr</artifactId>
138171
<version>0.2.3</version>
139-
</dependency>
172+
</dependency> -->
140173
<dependency>
141174
<groupId>org.janelia.saalfeldlab</groupId>
142175
<artifactId>n5</artifactId>
143-
<version>3.1.3</version>
144176
</dependency>
145177
<dependency>
146178
<groupId>org.janelia.saalfeldlab</groupId>
147179
<artifactId>n5-zarr</artifactId>
148-
<version>1.2.1</version>
149180
</dependency>
150181
<dependency>
151182
<groupId>org.janelia.saalfeldlab</groupId>
152183
<artifactId>n5-aws-s3</artifactId>
153-
<version>4.0.0</version>
184+
<!-- <version>4.0.0</version> -->
154185
</dependency>
155186
<!-- Scala is sensitive to fasterxml version -->
156187
<dependency>
@@ -227,7 +258,6 @@
227258
<dependency>
228259
<groupId>net.preibisch</groupId>
229260
<artifactId>multiview-reconstruction</artifactId>
230-
<version>3.2.12</version>
231261
<exclusions>
232262
<exclusion>
233263
<groupId>ch.epfl.biop</groupId>
@@ -268,12 +298,11 @@
268298
<dependency>
269299
<groupId>org.janelia.saalfeldlab</groupId>
270300
<artifactId>n5-hdf5</artifactId>
271-
<version>2.0.0</version>
301+
<!-- <version>2.0.0</version> -->
272302
</dependency>
273303
<dependency>
274304
<groupId>org.janelia.saalfeldlab</groupId>
275305
<artifactId>n5-imglib2</artifactId>
276-
<version>5.0.0</version>
277306
</dependency>
278307
<!-- https://mvnrepository.com/artifact/net.java.dev.jna/jna needed for M1 native library loading -->
279308
<dependency>
@@ -284,7 +313,6 @@
284313
<dependency>
285314
<groupId>net.preibisch</groupId>
286315
<artifactId>BigStitcher</artifactId>
287-
<version>1.2.11</version>
288316
<exclusions>
289317
<exclusion>
290318
<groupId>ch.epfl.biop</groupId>
@@ -308,6 +336,7 @@
308336
</exclusion>
309337
</exclusions>
310338
</dependency>
339+
311340
<!-- old bioformats -->
312341
<dependency>
313342
<groupId>org.openmicroscopy</groupId>

src/main/java/net/preibisch/bigstitcher/spark/ClearInterestPoints.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public Void call() throws Exception
105105
System.out.println( "Saving XML (metadata only) ..." );
106106

107107
dataGlobal.getViewInterestPoints().getViewInterestPoints().clear();
108-
new XmlIoSpimData2( null ).save( dataGlobal, xmlPath );
108+
new XmlIoSpimData2().save( dataGlobal, xmlURI );
109109

110110
System.out.println( "Removing interest point directory '" + file + "' ... " );
111111

src/main/java/net/preibisch/bigstitcher/spark/ClearRegistrations.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ else if ( keep != null )
101101
if ( !dryRun )
102102
{
103103
System.out.println( "Saving XML ..." );
104-
new XmlIoSpimData2( null ).save( dataGlobal, xmlPath );
104+
new XmlIoSpimData2().save( dataGlobal, xmlURI );
105105
}
106106

107107
return null;

0 commit comments

Comments
 (0)