Skip to content

snp_idx not defined in genotype_reader #20

@jeffhsu3

Description

@jeffhsu3

Not sure if this is the function I should be using as it is placed in the deprecated folder.

I get the following when trying to call genotype_reader_h5py.getPos:
NameError: global name 'snp_idx' is not defined

Just commented out this line and it worked

elif snp_idx is not None:    
    return self.position.iloc[snp_idx]

Guessing this was useful at getting out 1 particular SNP by index.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions