Skip to content

Commit

Permalink
unitary tests for io
Browse files Browse the repository at this point in the history
  • Loading branch information
Henley13 committed May 5, 2020
1 parent f4b7368 commit 4fa1d25
Show file tree
Hide file tree
Showing 5 changed files with 327 additions and 446 deletions.
19 changes: 8 additions & 11 deletions bigfish/stack/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@
from .utils import (check_array, check_df, check_recipe, check_parameter,
check_range_value,
get_margin_value, get_eps_float32)
from .io import (read_image, read_pickle, read_cell_json, read_rna_json,
read_dv,
save_image)
from .preprocess import (build_simulated_dataset, build_stacks, build_stack,
from .io import (read_image, read_dv, read_array, save_image, save_array)
from .preprocess import (build_stacks, build_stack,
build_stack_no_recipe, rescale,
cast_img_uint8, cast_img_uint16, cast_img_float32,
cast_img_float64, clean_simulated_data,
cast_img_float64,
deconstruct_image, reconstruct_image)
from .filter import (log_filter, mean_filter, median_filter, maximum_filter,
minimum_filter, gaussian_filter, remove_background_mean,
Expand Down Expand Up @@ -42,16 +40,15 @@


_utils = ["check_array", "check_df", "check_recipe", "check_parameter",
"check_range_value", "get_margin_value", "get_eps_float32"]
"check_range_value",
"get_margin_value", "get_eps_float32"]

_io = ["read_image", "read_pickle", "read_cell_json", "read_rna_json",
"read_dv",
"save_image"]
_io = ["read_image", "read_dv", "read_array", "save_image", "save_array"]

_preprocess = ["build_simulated_dataset", "build_stacks", "build_stack",
_preprocess = ["build_stacks", "build_stack",
"build_stack_no_recipe", "rescale",
"cast_img_uint8", "cast_img_uint16", "cast_img_float32",
"cast_img_float64", "clean_simulated_data", "deconstruct_image",
"cast_img_float64", "deconstruct_image",
"reconstruct_image"]

_filter = ["log_filter", "mean_filter", "median_filter", "maximum_filter",
Expand Down
Loading

0 comments on commit 4fa1d25

Please sign in to comment.