Skip to content

Instantly share code, notes, and snippets.

@Pabla007
Created February 22, 2020 15:44
Show Gist options
  • Save Pabla007/b346e79e392e502654db3eaea30907a5 to your computer and use it in GitHub Desktop.
Save Pabla007/b346e79e392e502654db3eaea30907a5 to your computer and use it in GitHub Desktop.
(fury) jasims@jasims-VirtualBox:~/fury$ pytest -svv fury
=========================================================================================== test session starts ============================================================================================
platform linux -- Python 3.7.4, pytest-5.3.5, py-1.8.1, pluggy-0.13.1 -- /home/jasims/miniconda3/bin/python
cachedir: .pytest_cache
rootdir: /home/jasims/fury
collected 94 items
fury/tests/test_actors.py::test_slicer PASSED
fury/tests/test_actors.py::test_surface PASSED
Download Progress: [########################################] 100.00% of 0.00 MBPASSED
fury/tests/test_actors.py::test_streamtube_and_line_actors PASSED
fury/tests/test_actors.py::test_bundle_maps PASSED
fury/tests/test_actors.py::test_odf_slicer 5
/tmp/tmpv5o2hc4m_odf_slicer.mmap
PASSED
fury/tests/test_actors.py::test_peak_slicer PASSED
fury/tests/test_actors.py::test_tensor_slicer PASSED
fury/tests/test_actors.py::test_dots PASSED
fury/tests/test_actors.py::test_points PASSED
fury/tests/test_actors.py::test_labels PASSED
fury/tests/test_actors.py::test_spheres PASSED
fury/tests/test_actors.py::test_cones_vertices_faces PASSED
fury/tests/test_actors.py::test_geometry_actor PASSED
fury/tests/test_actors.py::test_text_3d PASSED
fury/tests/test_actors.py::test_container PASSED
fury/tests/test_actors.py::test_grid PASSED
fury/tests/test_actors.py::test_direct_sphere_mapping PASSED
fury/tests/test_actors.py::test_texture_mapping PASSED
fury/tests/test_actors.py::test_figure_vs_texture_actor PASSED
fury/tests/test_actors.py::test_matplotlib_figure SKIPPED
fury/tests/test_actors.py::test_superquadric_actor PASSED
fury/tests/test_colormap.py::test_boys2rgb PASSED
fury/tests/test_colormap.py::test_orient2rgb PASSED
fury/tests/test_colormap.py::test_get_cmap PASSED
fury/tests/test_colormap.py::test_line_colors PASSED
fury/tests/test_colormap.py::test_create_colormap PASSED
fury/tests/test_colormap.py::test_lab_delta PASSED
fury/tests/test_colormap.py::test_rgb_lab_delta PASSED
fury/tests/test_colormap.py::test_lab2xyz PASSED
fury/tests/test_colormap.py::test_xyz2rgb PASSED
fury/tests/test_colormap.py::test_lab2rgb PASSED
fury/tests/test_decorators.py::test_skipper PASSED
fury/tests/test_deprecator.py::test_cmp_pkg_version PASSED
fury/tests/test_deprecator.py::test__ensure_cr PASSED
fury/tests/test_deprecator.py::test__add_dep_doc PASSED
fury/tests/test_deprecator.py::test_deprecate_with_version PASSED
fury/tests/test_interactor.py::test_custom_interactor_style_events Using VTK 8.1.2
PASSED
fury/tests/test_io.py::test_save_and_load_polydata PASSED
fury/tests/test_io.py::test_save_and_load_options PASSED
fury/tests/test_io.py::test_save_load_image ERROR: In /work/standalone-x64-build/VTK-source/IO/Image/vtkTIFFWriter.cxx, line 220
vtkTIFFWriter (0x557dc1be0760): LZW compression is patented outside US so it is disabled
PASSED
fury/tests/test_io.py::test_pillow PASSED
fury/tests/test_optpkg.py::test_get_info PASSED
fury/tests/test_optpkg.py::test_is_tripwire PASSED
fury/tests/test_optpkg.py::test_tripwire PASSED
fury/tests/test_optpkg.py::test_optional_package PASSED
fury/tests/test_primitive.py::test_vertices_primitives PASSED
fury/tests/test_primitive.py::test_triangles_primitives PASSED
fury/tests/test_primitive.py::test_spheres_primitives PASSED
fury/tests/test_primitive.py::test_superquadric_primitives PASSED
fury/tests/test_primitive.py::test_repeat_primitive PASSED
fury/tests/test_primitive.py::test_repeat_primitive_function PASSED
fury/tests/test_shaders.py::test_load PASSED
fury/tests/test_testing.py::test_captured_output PASSED
fury/tests/test_testing.py::test_assert PASSED
fury/tests/test_testing.py::test_clear_and_catch_warnings PASSED
fury/tests/test_transform.py::test_sphere_cart PASSED
fury/tests/test_transform.py::test_euler_matrix PASSED
fury/tests/test_ui.py::test_callback PASSED
fury/tests/test_ui.py::test_wrong_interactor_style PASSED
fury/tests/test_ui.py::test_ui_rectangle_2d PASSED
fury/tests/test_ui.py::test_ui_disk_2d PASSED
fury/tests/test_ui.py::test_ui_button_panel Data size is approximately 12KB
Dataset is already in place. If you want to fetch it again please first remove the folder /home/jasims/.fury/icons
PASSED
fury/tests/test_ui.py::test_ui_textbox PASSED
fury/tests/test_ui.py::test_text_block_2d PASSED
fury/tests/test_ui.py::test_text_block_2d_justification PASSED
fury/tests/test_ui.py::test_ui_line_slider_2d PASSED
fury/tests/test_ui.py::test_ui_line_double_slider_2d PASSED
fury/tests/test_ui.py::test_ui_ring_slider_2d PASSED
fury/tests/test_ui.py::test_ui_range_slider PASSED
fury/tests/test_ui.py::test_ui_option PASSED
fury/tests/test_ui.py::test_ui_checkbox PASSED
fury/tests/test_ui.py::test_ui_radio_button PASSED
fury/tests/test_ui.py::test_ui_listbox_2d PASSED
fury/tests/test_ui.py::test_ui_image_container_2d Data size is approximately 12KB
Dataset is already in place. If you want to fetch it again please first remove the folder /home/jasims/.fury/icons
PASSED
fury/tests/test_ui.py::test_timer PASSED
fury/tests/test_ui.py::test_ui_file_menu_2d PASSED
fury/tests/test_ui.py::test_grid_ui PASSED
fury/tests/test_ui.py::test_frame_rate_and_anti_aliasing PASSED
fury/tests/test_utils.py::test_map_coordinates_3d_4d PASSED
fury/tests/test_utils.py::test_polydata_lines PASSED
fury/tests/test_utils.py::test_polydata_polygon PASSED
fury/tests/test_utils.py::test_asbytes PASSED
fury/tests/test_utils.py::test_trilinear_interp PASSED
fury/tests/test_utils.py::test_vtk_matrix_to_numpy PASSED
fury/tests/test_utils.py::test_get_grid_cell_position PASSED
fury/tests/test_utils.py::test_rotate PASSED
fury/tests/test_window.py::test_scene PASSED
fury/tests/test_window.py::test_deprecated PASSED
fury/tests/test_window.py::test_active_camera PASSED
fury/tests/test_window.py::test_parallel_projection PASSED
fury/tests/test_window.py::test_order_transparent PASSED
fury/tests/test_window.py::test_stereo PASSED
fury/tests/test_window.py::test_record PASSED
============================================================================================= warnings summary =============================================================================================
/home/jasims/miniconda3/lib/python3.7/site-packages/setuptools/depends.py:2
/home/jasims/miniconda3/lib/python3.7/site-packages/setuptools/depends.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
fury/tests/test_actors.py::test_slicer
fury/tests/test_actors.py::test_slicer
fury/tests/test_actors.py::test_surface
fury/tests/test_actors.py::test_contour_from_roi
fury/tests/test_actors.py::test_streamtube_and_line_actors
fury/tests/test_actors.py::test_bundle_maps
fury/tests/test_actors.py::test_odf_slicer
fury/tests/test_actors.py::test_peak_slicer
fury/tests/test_actors.py::test_tensor_slicer
fury/tests/test_actors.py::test_points
fury/tests/test_actors.py::test_spheres
fury/tests/test_actors.py::test_cones_vertices_faces
fury/tests/test_actors.py::test_geometry_actor
fury/tests/test_actors.py::test_container
fury/tests/test_actors.py::test_grid
fury/tests/test_actors.py::test_direct_sphere_mapping
fury/tests/test_actors.py::test_texture_mapping
fury/tests/test_actors.py::test_figure_vs_texture_actor
fury/tests/test_actors.py::test_superquadric_actor
fury/tests/test_interactor.py::test_custom_interactor_style_events
fury/tests/test_io.py::test_save_and_load_polydata
fury/tests/test_io.py::test_save_and_load_options
fury/tests/test_io.py::test_save_load_image
fury/tests/test_ui.py::test_ui_button_panel
fury/tests/test_ui.py::test_ui_option
fury/tests/test_ui.py::test_ui_checkbox
fury/tests/test_ui.py::test_ui_radio_button
fury/tests/test_ui.py::test_ui_image_container_2d
fury/tests/test_ui.py::test_timer
fury/tests/test_ui.py::test_grid_ui
fury/tests/test_ui.py::test_frame_rate_and_anti_aliasing
fury/tests/test_utils.py::test_polydata_lines
fury/tests/test_utils.py::test_polydata_polygon
fury/tests/test_utils.py::test_rotate
fury/tests/test_window.py::test_scene
fury/tests/test_window.py::test_active_camera
fury/tests/test_window.py::test_parallel_projection
fury/tests/test_window.py::test_order_transparent
fury/tests/test_window.py::test_stereo
fury/tests/test_window.py::test_record
/home/jasims/miniconda3/lib/python3.7/site-packages/vtk/util/numpy_support.py:137: FutureWarning: Conversion of the second argument of issubdtype from `complex` to `np.complexfloating` is deprecated. In future, it will be treated as `np.complex128 == np.dtype(complex).type`.
assert not numpy.issubdtype(z.dtype, complex), \
fury/tests/test_actors.py::test_contour_from_roi
/home/jasims/miniconda3/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
return f(*args, **kwds)
fury/tests/test_actors.py::test_contour_from_roi
/home/jasims/fury/fury/tests/test_actors.py:264: DeprecationWarning: get_data() is deprecated in favor of get_fdata(), which has a more predictable return type. To obtain get_data() behavior going forward, use numpy.asanyarray(img.dataobj).
* deprecated from version: 3.0
* Will raise <class 'nibabel.deprecator.ExpiredDeprecationError'> as of version: 5.0
data = hardi_img.get_data()
fury/tests/test_actors.py::test_contour_from_roi
/home/jasims/fury/fury/tests/test_actors.py:265: DeprecationWarning: get_data() is deprecated in favor of get_fdata(), which has a more predictable return type. To obtain get_data() behavior going forward, use numpy.asanyarray(img.dataobj).
* deprecated from version: 3.0
* Will raise <class 'nibabel.deprecator.ExpiredDeprecationError'> as of version: 5.0
labels = labels_img.get_data()
fury/tests/test_actors.py::test_odf_slicer
fury/tests/test_colormap.py::test_create_colormap
fury/tests/test_colormap.py::test_create_colormap
/home/jasims/fury/fury/colormap.py:329: UserWarning: You do not have Matplotlib installed. Some colormaps might not work for you. Consider downloading Matplotlib.
warn(msg)
fury/tests/test_actors.py::test_cones_vertices_faces
fury/tests/test_actors.py::test_cones_vertices_faces
/home/jasims/fury/fury/window.py:1066: DeprecationWarning: elementwise comparison failed; this will raise an error in the future.
flags[i] = np.any(np.any(np.all(im[..., :3] == col[:3], axis=-1)))
fury/tests/test_primitive.py::test_repeat_primitive
fury/tests/test_primitive.py::test_repeat_primitive_function
/home/jasims/miniconda3/lib/python3.7/site-packages/scipy/spatial/transform/rotation.py:135: UserWarning: Gimbal lock detected. Setting third angle to zero since it is not possible to uniquely determine all angles.
warnings.warn("Gimbal lock detected. Setting third angle to zero since"
-- Docs: https://docs.pytest.org/en/latest/warnings.html
========================================================================== 93 passed, 1 skipped, 51 warnings in 388.47s (0:06:28) ==========================================================================
(fury) jasims@jasims-VirtualBox:~/fury$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment