Skip to content

Commit d980420

Browse files
claytonpbarrowsccoffrin
authored andcommitted
fix read PTI error (#384)
* fixing dcline for v0.7 * forcing :String return from read("PTIFILE")
1 parent 5b0e4c9 commit d980420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/io/pti.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ to the main PTI parser, returning a `Dict` of all the data parsed into the
568568
proper types.
569569
"""
570570
function parse_pti(filename::String)::Dict
571-
data_string = read(open(filename))
571+
data_string = read(open(filename),String)
572572
pti_data = parse_pti_data(data_string, get_pti_sections())
573573
pti_data["CASE IDENTIFICATION"][1]["NAME"] = match(r"[\/\\]*(?:.*[\/\\])*(.*)\.raw", lowercase(filename)).captures[1]
574574

0 commit comments

Comments
 (0)