MCPcopy
hub / github.com/ContextLab/hypertools / test_missing_data

Function test_missing_data

tests/test_format_data.py:50–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48
49
50def test_missing_data():
51 data = np.random.rand(100,10)
52 data[0][0]=np.nan
53 geo = plot(data, show=False)
54 assert isinstance(format_data(geo), list)
55 assert isinstance(format_data(geo)[0], np.ndarray)
56
57
58def test_force_align():

Callers

nothing calls this directly

Calls 2

plotFunction · 0.90
format_dataFunction · 0.90

Tested by

no test coverage detected