diff --git a/README.md b/README.md index 9bed06f..c327e3a 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ mvn package ### run by jar ```shell -java -jar target\bioformats-imageinfo-1.0.0.jar [path to image file] +java -jar target/bioformats-imageinfo-1.0.0.jar "[path to image file]" ``` ### run by class @@ -33,9 +33,9 @@ String format = ""; Map metadata = new LinkedHashMap(); try { - format = BioFormatsImageInfo.readMetadata(path, metadata)); + format = BioFormatsImageInfo.readMetadata(path, metadata); } catch (BioFormatsImageException e) { - // error occured + // error occurred e.printStackTrace(); } ```