From 84c945f1396976719608d6acb16ef2160b80578a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Haberth=C3=BCr?= Date: Wed, 30 Oct 2024 13:05:11 +0100 Subject: [PATCH 1/2] Fix typo (#93) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d4c4b8c9..11dee913 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Parameters * You may provide fewer values than the data dimension. In that case, the list will be expanded to necessary size with the last value, for example `64`, will expand to `64,64,64` for 3D data. * `Create Pyramid` - If checked, a multiscale pyramid will be created (if possible). See below for details. * `Downsampling method` - The downsampling method to be used if a multiscale pyramid can be created. See below for details. -* `Compression` - The compression method to be used for chucnks / blocks. +* `Compression` - The compression method to be used for chunks / blocks. * `metadata type` - style and type of metadata to store (see also [Metadata](#metadata)) * `Thread count` - number of threads used for parallel writing (see also [Cloud writing benchmarks](#cloud-writing-benchmarks)) * `Overwrite` - If checked, existing data may be deleted and overwritten without warning. From 855c29b728420c652a05ab6c94e642d928d84a91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Ulman?= Date: Fri, 22 Nov 2024 08:23:55 +0100 Subject: [PATCH 2/2] fix: c'tor of ImprovedFormattedTextField form field wasn't... (#94) ...considering the initial value, and was thus always displaying an empty field (no text) --- .../janelia/saalfeldlab/n5/ui/ImprovedFormattedTextField.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/janelia/saalfeldlab/n5/ui/ImprovedFormattedTextField.java b/src/main/java/org/janelia/saalfeldlab/n5/ui/ImprovedFormattedTextField.java index ef4ec10b..ae89d386 100644 --- a/src/main/java/org/janelia/saalfeldlab/n5/ui/ImprovedFormattedTextField.java +++ b/src/main/java/org/janelia/saalfeldlab/n5/ui/ImprovedFormattedTextField.java @@ -67,8 +67,9 @@ public ImprovedFormattedTextField(AbstractFormatter formatter) { public ImprovedFormattedTextField(AbstractFormatter formatter, Object aValue) { this(formatter); + String strValue = aValue instanceof String ? (String)aValue : ""; try { - setValue(new URI("")); + setValue(new URI(strValue)); } catch (URISyntaxException e) { e.printStackTrace(); }