From 692d55b658586ee8fc9ad9eabcb48e926f042bcf Mon Sep 17 00:00:00 2001 From: Yolan Uyttenhove Date: Fri, 23 Feb 2024 10:41:07 +0100 Subject: [PATCH] maybe fix import error? --- pyproject.toml | 2 +- swiftsimio/visualisation/slice_backends/__init__.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2dae8470..3dcd8cbc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" [tool.setuptools] -packages = ["swiftsimio", "swiftsimio.initial_conditions", "swiftsimio.metadata", "swiftsimio.metadata.cosmology", "swiftsimio.metadata.metadata", "swiftsimio.metadata.particle", "swiftsimio.metadata.unit", "swiftsimio.metadata.writer", "swiftsimio.visualisation", "swiftsimio.visualisation.projection_backends", "swiftsimio.visualisation.tools"] +packages = ["swiftsimio", "swiftsimio.initial_conditions", "swiftsimio.metadata", "swiftsimio.metadata.cosmology", "swiftsimio.metadata.metadata", "swiftsimio.metadata.particle", "swiftsimio.metadata.unit", "swiftsimio.metadata.writer", "swiftsimio.visualisation", "swiftsimio.visualisation.projection_backends", "swiftsimio.visualisation.slice_backends", "swiftsimio.visualisation.tools"] [project] name = "swiftsimio" diff --git a/swiftsimio/visualisation/slice_backends/__init__.py b/swiftsimio/visualisation/slice_backends/__init__.py index 941a31e4..2e3bb3d6 100644 --- a/swiftsimio/visualisation/slice_backends/__init__.py +++ b/swiftsimio/visualisation/slice_backends/__init__.py @@ -1,3 +1,7 @@ +""" +Backends for density slicing. +""" + from swiftsimio.visualisation.slice_backends.sph import ( slice_scatter as sph, slice_scatter_parallel as sph_parallel,