BUILD 1.2 KB
Newer Older
Christopher Shallue's avatar
Christopher Shallue committed
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package(default_visibility = ["//visibility:public"])

licenses(["notice"])  # Apache 2.0

py_library(
    name = "kepler_io",
    srcs = ["kepler_io.py"],
    srcs_version = "PY2AND3",
)

py_test(
    name = "kepler_io_test",
    size = "small",
    srcs = ["kepler_io_test.py"],
    data = glob([
        "test_data/0114/011442793/kplr*.fits",
    ]),
    srcs_version = "PY2AND3",
    deps = [":kepler_io"],
)

py_library(
    name = "median_filter",
    srcs = ["median_filter.py"],
    srcs_version = "PY2AND3",
)

py_test(
    name = "median_filter_test",
    size = "small",
    srcs = ["median_filter_test.py"],
    srcs_version = "PY2AND3",
    deps = [":median_filter"],
)

py_library(
    name = "periodic_event",
    srcs = ["periodic_event.py"],
    srcs_version = "PY2AND3",
)

py_test(
    name = "periodic_event_test",
    size = "small",
    srcs = ["periodic_event_test.py"],
    srcs_version = "PY2AND3",
    deps = [":periodic_event"],
)

py_library(
    name = "util",
    srcs = ["util.py"],
    srcs_version = "PY2AND3",
)

py_test(
    name = "util_test",
    size = "small",
    srcs = ["util_test.py"],
    srcs_version = "PY2AND3",
    deps = [
        ":periodic_event",
        ":util",
    ],
)