Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
79b90be
Add new infrastructure to test serialization regression
sbesson Aug 20, 2016
fd8f69a
Fix writeConfigFile NPE
sbesson Aug 20, 2016
417692d
Expand testMemoFileUsage to use the cache directory
sbesson Aug 20, 2016
aba95f5
Refactor testMemoFileUsage reloading step depending on the cache conf…
sbesson Aug 20, 2016
85d5777
Migrate cache generation to dedicated build target
sbesson Aug 20, 2016
ed64328
Fix classpath for gen-cache target
melissalinkert Oct 28, 2017
b9a88a0
Update testMemoFileUsage to read from both current and cached memo files
melissalinkert Oct 28, 2017
b17e656
Add test-memoizer target to run only testMemoFileUsage
melissalinkert Oct 28, 2017
3b07a4f
testMemoFileUsage: fail on invalid directory and pass on missing .bfmemo
melissalinkert Nov 20, 2017
9f5cd22
Add gen-file-list target to save a list of scanned files
melissalinkert Jan 12, 2018
4498fb2
Update test-automated to accept a testng.file-list argument
melissalinkert Jan 16, 2018
75e2004
Volocity: expand Image names to include the stack parent name(s)
melissalinkert Oct 28, 2014
2293c88
Compare Integers with 'equals' instead of '=='
melissalinkert Feb 6, 2018
2fff5ed
Inveon: attempt to find renamed data files
melissalinkert Jan 19, 2015
d39b2c7
Do not allow the header file to be used as the data file
melissalinkert Jan 22, 2015
ecaa281
Do not require Inveon image files to be detected
melissalinkert Feb 6, 2018
5b968a3
Move Inveon check in testSaneUsedFiles to prevent conflict
melissalinkert Feb 7, 2018
2d3c7e8
Cellomics: fix indexing when the field counts are variable
melissalinkert Nov 12, 2014
97e3bb9
Update POM version numbers to 5.9.0-SNAPSHOT
snoopycrimecop Apr 18, 2018
625cfc2
FileStitcher: do not use detected patterns that include missing files
melissalinkert Apr 18, 2018
60045cc
Merge pull request #3128 from snoopycrimecop/develop/latest/version_bump
dgault Apr 23, 2018
95a90ed
Zeiss CZI: fix big image edge case when tiling is present but a pyram…
melissalinkert Apr 23, 2018
84a4097
switch modifiers to customary order in NDPISReader
mtbc Apr 24, 2018
1a248aa
switch modifiers to customary order in CellH5Reader
mtbc Apr 24, 2018
7c2be78
Merge pull request #3130 from mtbc/static-final
dgault Apr 30, 2018
83c3896
test-suite: Add testng.allow-missing property
Apr 5, 2018
6646f5b
test-suite: Pass testng.allow-missing property via ant
Apr 5, 2018
28dcb18
test-suite: Adjust size of test list dynamically
rleigh-codelibre Apr 5, 2018
5400321
test-suite: Failing setId is not an error when allowing missing files
Apr 6, 2018
5bf5f32
test-suite: Treat present configuration and setId failure as failure
Apr 6, 2018
72f7c92
Log stored OME-XML at TRACE
melissalinkert Aug 15, 2017
5218ee2
OBF: add FLIM support
melissalinkert Aug 15, 2017
0cd63b0
build: Never run upgrade checker when running unit tests
May 3, 2018
0814ea5
TiffParser: Don't add SUBIFDS to main IFD list
Mar 14, 2018
f15847d
MinimalTiffWriter: Merge SubIFDs into main IFD list if explicitly req…
Apr 30, 2018
fe6b4b5
MinimalTiffReader: Document mergeSubIFDs
May 1, 2018
26f0def
MinimalTiffReader: Don't reset mergeSubIFDs on close
May 1, 2018
cdccd96
MinimalTiffReader: Add all SubIFDs at once
May 2, 2018
0f49813
TiffParser: Rename getIFDs to getMainIFDs and restore old getIFDs imp…
rleigh-codelibre May 9, 2018
f79222c
TiffParser: Correct last remaining uses of getIFDs
rleigh-codelibre May 9, 2018
398a424
MinimalTiffReader: Make mergeSubIFDs transient
rleigh-codelibre May 9, 2018
85298e2
test-suite: Configuration: Account for RGB channel count in plane siz…
May 4, 2018
eecc896
test-suite: FormatReaderTest: Account for Effective SizeC in plane si…
May 4, 2018
add48f6
test-suite: FormatReaderTest: Plane size calculation matches that in …
May 7, 2018
5e40da6
ci: Simplify ant testing to avoid Travis timeouts
May 10, 2018
aac632f
Merge pull request #3142 from rleigh-codelibre/ci-avoid-upgradecheck
joshmoore May 11, 2018
e4934d8
Metamorph: override getDomains() to check if the current file has a p…
melissalinkert May 11, 2018
ae58546
TiffWriter: Add support for DEFLATE (zlib) compression
May 28, 2018
2f7ef63
Warn if passing metadata with dimensionOrder in bfsave
jarmond May 31, 2018
1364c9d
ND2: prevent integer overflow when reading a tile from a large image
melissalinkert May 11, 2018
76801a1
Trestle: ensure consistent ordering of used files
melissalinkert Jun 5, 2018
92614b8
Memoizer: add generateMemo(String) convenience method
melissalinkert Jun 6, 2018
482d972
Refactor test used by gen-cache target to use
melissalinkert Jun 6, 2018
952af82
Add cachgen command line tool for generating memo files
melissalinkert Jun 6, 2018
7c24c2a
Memoizer: add setReadOnly method
melissalinkert Jun 6, 2018
0769b48
Fix configurations for gen-cache and test-memoizer targets
melissalinkert Jun 6, 2018
37b8629
Make testMemoFileUsage's Memoizer read-only
melissalinkert Jun 6, 2018
8df6913
Merge pull request #3158 from melissalinkert/trestle-used-files
sbesson Jun 6, 2018
f7718c8
Merge pull request #3140 from rleigh-codelibre/sync-east-tests
sbesson Jun 7, 2018
a2c62f6
Merge remote-tracking branch 'origin/develop' into serialization_tests
melissalinkert Jun 7, 2018
8f84430
Fix Metamorph RGB series channel count
jmuhlich Jun 7, 2018
37873f6
Merge pull request #3160 from jmuhlich/metamorph-series-rgb
dgault Jun 8, 2018
d7512cd
Plugins exporter: Reorder the dimensions
dgault Jun 11, 2018
f365792
GelReader: Don't allow overflow when reading unsigned integer values
rleigh-codelibre Jun 11, 2018
5106a3d
build: Update maven plugin versions
Jun 19, 2017
7c60934
build: Add xalan.version and use in all poms
Jun 20, 2017
6040b78
build: Add maven-javadoc-plugin.version
Jun 20, 2017
bdeb358
build: Use maven-enforcer-plugin to enforce maven and java versions
Jun 20, 2017
15696da
build: Move lifecycle-mapping to eclipse-specific build profile
Jun 20, 2017
76def3f
build: Update m2e lifecycle-mapping plugin versions
Jun 20, 2017
2659204
build: Update imagej1 plugin to 1.51r
Oct 27, 2017
d2c1aac
build: Add jaxb-api as test dependency
Oct 27, 2017
f5b6c61
build: Update maven plugin versions (2)
Oct 27, 2017
1f2c2cd
build: Use maven-enforcer-plugin 3.0.0-M1 for Java 9 support
Oct 27, 2017
23bcb8a
ci: Update for maven changes
Oct 27, 2017
259e86c
Update maven plugin versions
Apr 6, 2018
c341f81
Update maven plugin versions
Apr 6, 2018
58be557
Build javadocs as part of the main build
Apr 6, 2018
8b30404
gitignore: Ignore IntelliJ IDEA files
Apr 6, 2018
5441f6d
gitignore: Ignore IntelliJ IDEA files
Apr 25, 2018
889be58
ci: Only test ant build with JDK8
May 2, 2018
10e1929
MetaMorph - Prevent NullPointerException
dgault Jun 14, 2018
9a9a87c
Merge pull request #3165 from rleigh-codelibre/maven-updates-develop
dgault Jun 14, 2018
71adab5
Merge pull request #3086 from melissalinkert/cellomics-indexing
dgault Jun 14, 2018
6513636
Merge pull request #3163 from rleigh-codelibre/gel-square-conv
dgault Jun 15, 2018
0595010
Merge pull request #3147 from rleigh-codelibre/tiff-parser-backport
dgault Jun 15, 2018
47d5e46
OIR - Exit while loop if length is 0
dgault Jun 15, 2018
a3103f2
ci: Build with Java 10 on appveyor and travis
rleigh-codelibre Jun 17, 2018
671548a
maven: Update plugin versions
rleigh-codelibre Jun 17, 2018
479821a
Update the ImageJ API link for Javadoc crosslinks
sbesson Jun 18, 2018
875a9d5
Merge pull request #3157 from melissalinkert/nd2-tile-overflow-develop
dgault Jun 18, 2018
606797f
LIF: only prioritize C in dimension order if channels are RGB
melissalinkert Jun 18, 2018
7b49a8e
Fix classpaths for gen-file-list, gen-cache, and test-memoizer
melissalinkert Jun 18, 2018
f3ddf27
Merge pull request #3132 from melissalinkert/qa-20612
dgault Jun 18, 2018
91e5e5d
Merge pull request #3153 from rleigh-codelibre/tiff-zlib
dgault Jun 19, 2018
3d4d3af
Metamorph: ensure that isHCS is set correctly when MetadataLevel is M…
melissalinkert Jun 19, 2018
7eb72cf
Set HTTPS protocols for running Appveyor on Java 7
sbesson Jun 20, 2018
f8c9694
Only set https.protocols for Java 7 builds
sbesson Jun 20, 2018
ea81574
Pin MAVEN_OPTS https.protocols to Java 7 only
sbesson Jun 21, 2018
5c5a63c
Clarify ordering expectation in get*UsedFiles Javadocs
melissalinkert Jun 21, 2018
04afcf7
Remove java 7 from Appveyor
sbesson Jun 22, 2018
75bc78e
Merge pull request #3174 from sbesson/sonatype_tls
sbesson Jun 22, 2018
0061fc6
Fix download URLs in bf.bat and bf.sh
melissalinkert Jun 22, 2018
ba7e58e
Use imagej.net URL for ImageJ Javadoc
sbesson Jun 22, 2018
31ef818
Merge pull request #3176 from melissalinkert/command-line-url
sbesson Jun 25, 2018
a5c9e90
Merge pull request #3175 from melissalinkert/getusedfiles-javadoc
sbesson Jun 25, 2018
f9f8f17
Merge pull request #3169 from dgault/OIR-PreventInfiniteLoop
sbesson Jun 25, 2018
447ea49
Revert "Use imagej.net URL for ImageJ Javadoc"
sbesson Jun 26, 2018
96f59f7
Merge pull request #3148 from melissalinkert/metamorph-domain-develop
sbesson Jun 26, 2018
fce29b7
Merge pull request #3162 from dgault/plugins-exporter-dimOrder
dgault Jun 26, 2018
1749b65
Merge pull request #3063 from melissalinkert/volocity-image-names
dgault Jun 26, 2018
9ffe29e
Merge pull request #3064 from melissalinkert/inveon-renamed-file
dgault Jun 27, 2018
65321bf
Merge pull request #3141 from melissalinkert/obf-fixes
dgault Jun 27, 2018
026bfb1
Merge pull request #3173 from melissalinkert/lif-dimension-order
dgault Jun 27, 2018
f7102d4
Rename Memoizer.setReadOnly(boolean) to Memoizer.skipSave(boolean)
melissalinkert Jun 29, 2018
8b9c592
Also update function description
sbesson Jun 29, 2018
7453a61
Merge pull request #3170 from rleigh-codelibre/ci-java-10
sbesson Jun 29, 2018
099acaa
Merge pull request #3156 from jarmond/develop
sbesson Jun 29, 2018
6fb48f9
Merge pull request #3167 from dgault/metamorph-nullpointer
sbesson Jul 2, 2018
859e908
Merge pull request #3129 from melissalinkert/pattern-missing-files
dgault Jul 2, 2018
083a5b4
Merge pull request #3159 from melissalinkert/serialization_tests
dgault Jul 2, 2018
44e5821
Update POM version numbers to 5.9.0
snoopycrimecop Jul 2, 2018
14aad15
Merge pull request #3172 from sbesson/imagej_api_link
dgault Jul 2, 2018
a8c8a29
Merge pull request #3177 from snoopycrimecop/develop/latest/version_bump
dgault Jul 2, 2018
610943f
Merge tag 'v5.9.0' into 5.10.0-SNAPSHOT
sbesson Jul 3, 2018
9712e1e
Bump versions to 5.10.0-SNAPSHOT
sbesson Jul 3, 2018
9ef35b8
Remove Bio-Formats Matlab support
Apr 30, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ environment:
- java: 1.8
build: ant
ant_version: 1.10.1
- java: 1.7
build: maven

cache:
- '%AV_BF_M2% -> appveyor.yml'
Expand All @@ -27,7 +25,6 @@ init:
- git config --global core.autocrlf input
- if [%build%] == [ant] appveyor-retry cinst -y ant --version %ant_version%
- refreshenv
- 'if [%java%] == [1.7] set "JAVA_HOME=C:\Program Files\Java\jdk1.7.0"'
- 'if [%java%] == [1.8] set "JAVA_HOME=C:\Program Files\Java\jdk1.8.0"'
- 'if [%java%] == [10] set "JAVA_HOME=C:\Program Files\Java\jdk10"'
- PATH=%JAVA_HOME%\bin;%PATH%
Expand All @@ -36,12 +33,3 @@ init:

build_script:
- tools\test-build %build%

#artifacts:
# - path: 'components\bundles\bioformats_package\target\*.zip'
# - path: 'components\bundles\bioformats_package\target\*.jar'
# - path: 'components\bundles\bioformats_package\target\*.tar.*'
# - path: 'artifacts\bioformats_package.jar'
# - path: 'artifacts\bftools.zip'
# - path: 'artifacts\bfmatlab.zip'
# - path: 'artifacts\bioformats-octave*.tar.*'
2 changes: 1 addition & 1 deletion ant/java.xml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ your FindBugs installation's lib directory. E.g.:
<doctitle><![CDATA[<h1>Bio-Formats</h1>]]></doctitle>
<bottom><![CDATA[${copyright.begin} ${YEAR} ${copyright.end}]]></bottom>
<link href="http://docs.oracle.com/javase/7/docs/api/"/>
<link href="http://rsbweb.nih.gov/ij/developer/api/"/>
<link href="https://imagej.nih.gov/ij/developer/api/"/>
<link href="http://www.ssec.wisc.edu/visad-docs/javadoc/"/>
<!--<link href="http://www.jdocs.com/formlayout/1.0.4/api/"/>-->
<!--<link href="http://www.jdocs.com/looks/1.2.2/api/"/>-->
Expand Down
43 changes: 0 additions & 43 deletions ant/toplevel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -353,49 +353,6 @@ Type "ant -p" for a list of targets.
<ant dir="components/bundles/bioformats_package" target="bftools"/>
</target>

<!-- Matlab -->
<target name="dist-matlab"
description="generate a zip bundle of the Matlab toolbox">
<echo>----------=========== bfmatlab ===========----------</echo>
<ant dir="components/bundles/bioformats_package" target="bfmatlab"/>
</target>

<target name="test-matlab" description="run Matlab tests" depends="tools">
<property environment="env"/>
<exec executable="matlab">
<env key="MATLABPATH" value="${env.MATLABPATH}:${root.dir}/components/bio-formats/matlab:${artifact.dir}"/>
<arg value="-nodesktop"/>
<arg value="-nosplash"/>
<arg value="-r"/>
<arg value="runtests ${root.dir}/components/formats-gpl/test/matlab"/>
</exec>
</target>

<!-- Octave -->
<target name="dist-octave" description="generate an Octave package">
<echo>-------=========== Octave package ===========-------</echo>

<tempfile property="temp.file" destDir="${java.io.tmpdir}"/>
<copy file="${root.dir}/components/formats-gpl/octave/DESCRIPTION.in"
toFile="${temp.file}">
<filterset begintoken="$${" endtoken ="}" >
<filter token="release.version" value="${release.version}"/>
<filter token="DATE" value="${date}"/>
</filterset>
</copy>

<tar destfile="${artifact.dir}/bioformats-octave-${release.version}.tar.gz"
compression="gzip">
<tarfileset dir="${root.dir}/components/formats-gpl/octave"
prefix="bioformats/" excludes="DESCRIPTION.in"/>
<tarfileset file="${temp.file}" fullpath="bioformats/DESCRIPTION"/>
<tarfileset file="${root.dir}/LICENSE.txt" fullpath="bioformats/COPYING"/>
<tarfileset dir="${root.dir}/components/formats-gpl/matlab"
prefix="bioformats/inst/"/>
</tar>
<delete file="${temp.file}"/>
</target>

<!-- Internal targets -->

<target name="init"/>
Expand Down
2 changes: 1 addition & 1 deletion components/bio-formats-plugins/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>ome</groupId>
<artifactId>pom-bio-formats</artifactId>
<version>5.9.0-SNAPSHOT</version>
<version>5.10.0-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -568,9 +568,9 @@ else if (cal.frameInterval != 0.0 && cal.getTimeUnit().equals("sec")) {
String ext = outfile.substring(dot);

int nextFile = 0;
for (int z=0; z<(splitZ ? sizeZ : 1); z++) {
for (int c=0; c<(splitC ? sizeC : 1); c++) {
for (int t=0; t<(splitT ? sizeT : 1); t++) {
for (int t=0; t<(splitT ? sizeT : 1); t++) {
for (int z=0; z<(splitZ ? sizeZ : 1); z++) {
for (int c=0; c<(splitC ? sizeC : 1); c++) {
int index = FormatTools.getIndex(ORDER, sizeZ, sizeC, sizeT, sizeZ*sizeC*sizeT, z, c, t);
String pattern = base + (splitZ ? "_Z%z" : "") + (splitC ? "_C%c" : "") + (splitT ? "_T%t" : "") + ext;
outputFiles[nextFile++] = FormatTools.getFilename(0, index, store, pattern, padded);
Expand Down
2 changes: 1 addition & 1 deletion components/bio-formats-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>ome</groupId>
<artifactId>pom-bio-formats</artifactId>
<version>5.9.0-SNAPSHOT</version>
<version>5.10.0-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>

Expand Down
127 changes: 127 additions & 0 deletions components/bio-formats-tools/src/loci/formats/tools/GenerateCache.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
/*
* #%L
* Bio-Formats command line tools for reading and converting files
* %%
* Copyright (C) 2018 Open Microscopy Environment:
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Software, Inc.
* - University of Dundee
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
* #L%
*/

package loci.formats.tools;

import java.io.File;
import java.io.IOException;

import loci.common.DataTools;
import loci.formats.Memoizer;

/**
* Generate cache file(s) for a specified file or directory.
*/
public class GenerateCache {

/**
* Use the given Memoizer to initialize the given file
* and attempt to generate a memo file.
* Prints a message if the memo file could not be saved.
*/
private static void generateMemo(Memoizer reader, String path) {
boolean success = false;
try {
success = reader.generateMemo(path);
}
catch (IOException e) {
e.printStackTrace();
}
if (!success) {
System.out.println("Memo file not saved for " + path);
}
}

/**
* Recursively scan the given directory and generate a memo file
* for each found file.
* Delegates to #generateMemo(Memoizer, String) to perform the actual
* memo file generation.
*/
private static void processDirectory(Memoizer reader, File dir) {
String[] list = dir.list();
for (String f : list) {
File file = new File(dir, f);
if (file.isDirectory()) {
processDirectory(reader, file);
}
else {
generateMemo(reader, file.getAbsolutePath());
}
}
}

public static void main(String[] args) {
CommandLineTools.runUpgradeCheck(args);

if (args.length < 2) {
System.out.println("Usage:");
System.out.println(
"cachegen [-list] fileOrDir cacheFileDir");
System.out.println();
System.out.println("If '-list' is specified, then 'fileOrDir' is a text file with one file per line.");
return;
}

boolean fileList = args.length >= 3 && args[0].equals("-list");
String input = args[args.length - 2];
String outputDir = args[args.length - 1];

Memoizer reader = new Memoizer(0, new File(outputDir));
File inputFile = new File(input);

if (!inputFile.isDirectory()) {
if (fileList) {
String[] files = null;
try {
files = DataTools.readFile(inputFile.getAbsolutePath()).split("\n");
}
catch (IOException e) {
System.out.println("Could not read file list from " + inputFile);
e.printStackTrace();
}
if (files != null) {
for (String f : files) {
generateMemo(reader, f);
}
}
}
else {
generateMemo(reader, inputFile.getAbsolutePath());
}
}
else {
processDirectory(reader, inputFile);
}
}

}
11 changes: 1 addition & 10 deletions components/bundles/bioformats_package/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Type "ant -p" for a list of targets.
<doctitle><![CDATA[<h1>Bio-Formats</h1>]]></doctitle>
<bottom><![CDATA[${copyright.begin} ${YEAR} ${copyright.end}]]></bottom>
<link href="http://docs.oracle.com/javase/7/docs/api/"/>
<link href="http://rsbweb.nih.gov/ij/developer/api/"/>
<link href="https://imagej.nih.gov/ij/developer/api/"/>
<!--<link href="http://www.jdocs.com/formlayout/1.0.4/api/"/>-->
<!--<link href="http://www.jdocs.com/looks/1.2.2/api/"/>-->
</javadoc>
Expand All @@ -50,13 +50,4 @@ Type "ant -p" for a list of targets.
<zipfileset file="${artifact.dir}/${bundle.jar}" prefix="bftools"/>
</zip>
</target>

<target name="bfmatlab"
description="generate the a zip bundle of the MATLAB toolbox">
<zip destfile="${artifact.dir}/bfmatlab.zip">
<zipfileset dir="${root.dir}/components/formats-gpl/matlab"
includes="**/*" prefix="bfmatlab"/>
<zipfileset file="${artifact.dir}/${bundle.jar}" prefix="bfmatlab"/>
</zip>
</target>
</project>
2 changes: 1 addition & 1 deletion components/bundles/bioformats_package/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>ome</groupId>
<artifactId>pom-bio-formats</artifactId>
<version>5.9.0-SNAPSHOT</version>
<version>5.10.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion components/bundles/loci_tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>ome</groupId>
<artifactId>pom-bio-formats</artifactId>
<version>5.9.0-SNAPSHOT</version>
<version>5.10.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion components/forks/turbojpeg/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>ome</groupId>
<artifactId>pom-bio-formats</artifactId>
<version>5.9.0-SNAPSHOT</version>
<version>5.10.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion components/formats-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>ome</groupId>
<artifactId>pom-bio-formats</artifactId>
<version>5.9.0-SNAPSHOT</version>
<version>5.10.0-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>

Expand Down
29 changes: 27 additions & 2 deletions components/formats-api/src/loci/formats/IFormatReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -341,23 +341,48 @@ Object openPlane(int no, int x, int y, int w, int h)
*/
int fileGroupOption(String id) throws FormatException, IOException;

/** Returns an array of filenames needed to open this dataset. */
/**
* Returns an array of filenames needed to open this dataset.
* The first element in the array is expected to be the path passed to
* {@link #setId(String)}. The remaining elements are expected to be in a
* consistent order; if a directory listing is necessary to build the list
* then it should be sorted first.
*/
String[] getUsedFiles();

/**
* Returns an array of filenames needed to open this dataset.
* If the 'noPixels' flag is set, then only files that do not contain
* pixel data will be returned.
*
* The first element in the array is expected to be the path passed to
* {@link #setId(String)}, if appropriate based upon 'noPixels'.
* The remaining elements are expected to be in a consistent order;
* if a directory listing is necessary to build the list then it should
* be sorted first.
*/
String[] getUsedFiles(boolean noPixels);

/** Returns an array of filenames needed to open the current series. */
/**
* Returns an array of filenames needed to open the current series.
*
* The first element in the array is expected to be the path passed to
* {@link #setId(String)}. The remaining elements are expected to be in a
* consistent order; if a directory listing is necessary to build the list
* then it should be sorted first.
*/
String[] getSeriesUsedFiles();

/**
* Returns an array of filenames needed to open the current series.
* If the 'noPixels' flag is set, then only files that do not contain
* pixel data will be returned.
*
* The first element in the array is expected to be the path passed to
* {@link #setId(String)}, if appropriate based upon 'noPixels'.
* The remaining elements are expected to be in a consistent order;
* if a directory listing is necessary to build the list then it should
* be sorted first.
*/
String[] getSeriesUsedFiles(boolean noPixels);

Expand Down
2 changes: 1 addition & 1 deletion components/formats-bsd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>ome</groupId>
<artifactId>pom-bio-formats</artifactId>
<version>5.9.0-SNAPSHOT</version>
<version>5.10.0-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>

Expand Down
Loading