Skip to content

Commit

Permalink
drop Compat #60
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Barth committed Jan 12, 2020
1 parent d6f71f4 commit 1bad860
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 10 deletions.
2 changes: 0 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ version = "0.9.6"
[deps]
BinDeps = "9e28174c-4ba2-5203-b857-d8d62c4213ee"
CFTime = "179af706-886a-5703-950a-314cd64e0468"
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
CondaBinDeps = "a9693cdc-2bc8-5703-a9cd-1da358117377"
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand All @@ -19,7 +18,6 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
[compat]
BinDeps = "0.8, 1"
CFTime = "0.0.3, 0.1, 1"
Compat = "2"
CondaBinDeps = "0.1"
DataStructures = "0.17"
julia = "0.7, 1"
Expand Down
2 changes: 0 additions & 2 deletions src/NCDatasets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ using Dates
using Printf

using Base
using Compat
using DataStructures: OrderedDict
import Base.convert
import Compat: @debug, findfirst

import Base: close
import Base: Array
Expand Down
2 changes: 1 addition & 1 deletion src/ncgen.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ as the NetCDF file `fname`. The code is placed in the file `jlname` or printed
to the standard output. By default the new NetCDF file is called `filename.nc`.
This can be changed with the optional parameter `newfname`.
"""
ncgen(fname; kwargs...) = ncgen(Compat.stdout,fname; kwargs...)
ncgen(fname; kwargs...) = ncgen(stdout,fname; kwargs...)

function ncgen(fname,jlname; kwargs...)
open(jlname,"w") do io
Expand Down
1 change: 0 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ using Test
using Dates
using Printf
using Random
using Compat

println("NetCDF library: ",NCDatasets.libnetcdf)
println("NetCDF version: ",NCDatasets.nc_inq_libvers())
Expand Down
1 change: 0 additions & 1 deletion test/test_diskless.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ using NCDatasets
using Test
using Dates
using Printf
using Compat
using BenchmarkTools

sz = (400,400)
Expand Down
1 change: 0 additions & 1 deletion test/test_lowlevel.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Random
using Compat
import NCDatasets

varname = "varname"
Expand Down
2 changes: 0 additions & 2 deletions test/test_writevar.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ using Test
using Dates
using Printf

using Compat

sz = (4,5)
filename = tempname()
# The mode "c" stands for creating a new file (clobber)
Expand Down

2 comments on commit 1bad860

@Datseris
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can tell there is a usage of Compat in the prettyprint.jl file, at teh display function @Alexander-Barth .

@Alexander-Barth
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thanks

Please sign in to comment.