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

Adapt codebase to support new datasets different from JUMP #14

Open
sugan89 opened this issue Oct 21, 2024 · 0 comments
Open

Adapt codebase to support new datasets different from JUMP #14

sugan89 opened this issue Oct 21, 2024 · 0 comments

Comments

@sugan89
Copy link
Member

sugan89 commented Oct 21, 2024

Proposed change:

Adapt the following function to ignore JUMP metadata files when there is not source_* sources. Add as an additional param in the JSON file the path to the metadata for non-JUMP sources.

def load_metadata(sources: list[str], plate_types: list[str]):
"""Load metadata only"""
plate = get_plate_metadata(sources, plate_types)
well = get_well_metadata(plate_types)
meta = well.merge(plate, on=["Metadata_Source", "Metadata_Plate"])
return meta

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

No branches or pull requests

1 participant