-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathUtils.jl
51 lines (43 loc) · 858 Bytes
/
Utils.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
"""
The `Utils` has common utils functions and types used in other modules.
```julia
using MIToS.Utils
```
"""
module Utils
using Downloads
using CodecZlib
using NamedArrays
using Logging
import LightXML
export # GeneralUtils.jl
All,
get_n_words,
hascoordinates,
select_element,
matrix2list,
list2matrix,
check_pdbcode,
getarray,
# Read.jl
FileFormat,
lineiterator,
check_file,
isnotemptyfile,
download_file,
read_file,
parse_file,
# Write.jl
write_file,
print_file,
# ThreeLetterResidues.jl
THREE2ONE,
# Imported from Base (and exported for docs)
read,
write
include("GeneralUtils.jl")
include("Read.jl")
include("Write.jl")
include("ThreeLetterResidues.jl")
@deprecate deleteitems!(vector::Vector, items) filter!(x -> x ∉ items, vector)
end # Utils