Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pbinder/move scdl #76

Merged
merged 13 commits into from
Aug 9, 2024
Merged

Pbinder/move scdl #76

merged 13 commits into from
Aug 9, 2024

Conversation

polinabinder1
Copy link
Collaborator

Moving the scdl changes over.

@polinabinder1
Copy link
Collaborator Author

/build-ci

@polinabinder1 polinabinder1 requested review from skothenhill-nv and removed request for jstjohn August 5, 2024 23:15
Copy link
Collaborator

@pstjohn pstjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just left a couple comments around packaging, these don't have to block the PR though.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a nit, but any reason you need to have this file and the version specified in the pyproject.toml?

Could you instead see if

from importlib.metadata import version
version('bionemo-scdl')

would let you have the version tag in only one place?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, they should be in the same one. Good point.

Comment on lines 20 to 37
setup(
name="scdl",
version="0.0.1",
packages=find_packages(),
author="NVIDIA Corporation",
author_email="[email protected]",
description="A library for fast dataloading of single cell data.",
long_description="scdl is a library for reading and writing performant datasets from single cell foundation models.",
url="",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
python_requires=">=3.10",
install_requires=[],
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@malcolmgreaves -- do we still need a setup.py script? why isn't the pyproject.toml sufficient?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed it

@polinabinder1
Copy link
Collaborator Author

/build-ci


Alternatively, it can be installed with
```bash
pip install bionemo[scdl]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this work? :O

Comment on lines 1 to 11
# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-Apache2
#
# 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,
Copy link
Collaborator

@skothenhill-nv skothenhill-nv Aug 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a duplicate of the module level sub-package/bionemo-scdl/scripts/convert_h5ad_to_scdl.py ?

Copy link
Collaborator

@skothenhill-nv skothenhill-nv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Took a brief pass- only thing that stands out is convert_h5ad_to_scdl.py is defined in two places, other than that LGTM.

@polinabinder1 polinabinder1 removed the request for review from jomitchellnv August 7, 2024 21:17
@polinabinder1
Copy link
Collaborator Author

/build-ci

2 similar comments
@polinabinder1
Copy link
Collaborator Author

/build-ci

@jstjohn
Copy link
Collaborator

jstjohn commented Aug 8, 2024

/build-ci

@polinabinder1
Copy link
Collaborator Author

/build-ci

@polinabinder1
Copy link
Collaborator Author

/build-ci

@polinabinder1 polinabinder1 enabled auto-merge (squash) August 9, 2024 18:34
@polinabinder1
Copy link
Collaborator Author

/build-ci

1 similar comment
@ohadmo
Copy link
Member

ohadmo commented Aug 9, 2024

/build-ci

@polinabinder1 polinabinder1 merged commit befd2a3 into v2-main Aug 9, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants