Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Writer: fix typos #528

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ public <T extends RealType<T>> void writeImage(final Img<T> img,
if (sizeC > 3) {
LOGGER.warn(
"Image has more than 3 channels. These channels might be "
+ "ignored my some formats.");
+ "ignored by some formats.");
}

final int sizeT = (img.numDimensions() > map[2]) && (map[2] != -1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,12 @@ protected void run(final RowInput inData, final ExecutionContext exec, final lon

if (f.exists()) {
if (overwrite) {
LOGGER.warn("The file " + outfile + " already exits and will be OVERWRITTEN.");
LOGGER.warn("The file " + outfile + " already exists and will be OVERWRITTEN.");
f.delete();

} else {
throw new InvalidSettingsException(
"The file " + outfile + " exits and must not be overwritten due to user settings.");
"The file " + outfile + " exists and must not be overwritten due to user settings.");
}
// filename contained path to non existent directory
} else if (!f.getParentFile().exists()) {
Expand Down