Skip to content

Commit

Permalink
Add license
Browse files Browse the repository at this point in the history
  • Loading branch information
erikogabrielsson committed Nov 22, 2024
1 parent 0991dd1 commit 0c1b9d1
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
33 changes: 33 additions & 0 deletions tests/test_wsidicom_image_data.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright 2024 SECTRA AB
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from typing import Union

import pytest

from wsidicom.geometry import (
Orientation,
Point,
PointMm,
Region,
RegionMm,
Size,
SizeMm,
)
from wsidicom.metadata import ImageCoordinateSystem


@pytest.mark.unittest
class TestWsiDicomFileImageData:
def
14 changes: 14 additions & 0 deletions wsidicom/cache.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2024 SECTRA AB
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from collections.abc import Iterator
from threading import Lock
from typing import Callable, Dict, Generic, Iterable, Optional, Sequence, Tuple, TypeVar
Expand Down

0 comments on commit 0c1b9d1

Please sign in to comment.