Skip to content

Commit cac64e7

Browse files
author
Eric T. Dawson
committed
Address precommit failures
Signed-off-by: Eric T. Dawson <edawson@nvidia.com>
1 parent 73982f1 commit cac64e7

File tree

5 files changed

+19
-5
lines changed

5 files changed

+19
-5
lines changed

sub-packages/bionemo-scdl/src/bionemo/scdl/io/single_cell_memmap_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
from bionemo.scdl.api.single_cell_row_dataset import SingleCellRowDataset
3333
from bionemo.scdl.index.row_feature_index import RowFeatureIndex
3434
from bionemo.scdl.schema.header import ArrayDType, ArrayInfo, Backend, FeatureIndexInfo, SCDLHeader
35-
from bionemo.scdl.schema.version import CurrentSCDLVersion, SCDLVersion
35+
from bionemo.scdl.schema.version import CurrentSCDLVersion
3636
from bionemo.scdl.util.filecopyutil import extend_files
3737

3838

sub-packages/bionemo-scdl/tests/bionemo/scdl/schema/_expected_version.py

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
# SPDX-License-Identifier: LicenseRef-Apache2
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
117
# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
218
# SPDX-License-Identifier: LicenseRef-Apache2
319

420
from bionemo.scdl.schema.version import SCDLVersion
521

22+
623
# Single place to update expected schema version for tests
724
EXPECTED_SCDL_VERSION = SCDLVersion(major=0, minor=1, point=0)
8-
9-

sub-packages/bionemo-scdl/tests/bionemo/scdl/schema/test_header.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
from bionemo.scdl.schema.headerutil import Endianness, HeaderSerializationError
4141
from bionemo.scdl.schema.magic import SCDL_MAGIC_NUMBER
4242
from bionemo.scdl.schema.version import CurrentSCDLVersion, SCDLVersion
43+
4344
from ._expected_version import EXPECTED_SCDL_VERSION
4445

4546

sub-packages/bionemo-scdl/tests/bionemo/scdl/schema/test_header_file.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
from bionemo.scdl.schema.magic import SCDL_MAGIC_NUMBER
2323
from bionemo.scdl.schema.version import CurrentSCDLVersion
2424

25-
import pytest
2625

2726
@pytest.skip("Skipping test_header_file.py because test has not been updated.", allow_module_level=True)
2827
@pytest.mark.parametrize("header_filename", ["header.sch"])

sub-packages/bionemo-scdl/tests/bionemo/scdl/schema/test_headerutil.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
)
3030

3131

32-
3332
class TestBinaryHeaderCodecInitialization:
3433
"""Test BinaryHeaderCodec initialization."""
3534

0 commit comments

Comments
 (0)