From 60dff94dee9c63019eaff1a173a17e68b95cc75f Mon Sep 17 00:00:00 2001 From: Zaki A Date: Sat, 12 Jan 2019 18:45:50 -0500 Subject: [PATCH] Add badges for build/codecov; Mention existence of tag macro --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b161c6c..ca4eb8a 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,9 @@ Julia interface for parsing/writing DICOM files +[![Build Status](https://travis-ci.org/JuliaIO/DICOM.jl.svg?branch=master)](https://travis-ci.org/JuliaIO/DICOM.jl) +[![Code Coverage](https://codecov.io/gh/JuliaIO/DICOM.jl/branch/master/graphs/badge.svg?)](https://codecov.io/gh/JuliaIO/DICOM.jl/branch/master) + ## Usage **Installation** @@ -24,7 +27,7 @@ Read a DICOM file by julia> dcmData = dcm_parse("path/to/dicom/file") ``` The data in `dcmData` is structured as a dictionary, and individual DICOM elements can be accessed by their hex tag. -For example, the hex tag of "Pixel Data" is `7FE0,0010`, and it can be accessed in Julia by `dcmData[(0x7FE0,0x0010)]`. +For example, the hex tag of "Pixel Data" is `7FE0,0010`, and it can be accessed in Julia by `dcmData[(0x7FE0,0x0010)]` or by `dcmData[tag"Pixel Data"]`. **Writing Data**