Skip to content

map.values - Issue #12

@KonstantinaChe

Description

@KonstantinaChe

Hello!

I have tried to run the admixfrog analysis several times and each time I received the same error, so I decided to re-run it on the uploaded data in tests/data directory. The same issue persists. Here it is:

admixfrog 0.7.2
{'ll_tol': 0.01, 'max_iter': 1000, 'scale_probs': True}
Traceback (most recent call last):
File "/lisc/app/admixfrog/0.7.2-3.12.5/bin/admixfrog", line 8, in
sys.exit(run_frog())
^^^^^^^^^^
File "/lisc/app/admixfrog/0.7.2-3.12.5/admixfrog/interface_frog.py", line 335, in run_frog
run_admixfrog(
File "/lisc/app/admixfrog/0.7.2-3.12.5/admixfrog/frog/admixfrog.py", line 492, in run_admixfrog
df, ix, sex, tot_n_snps = load_admixfrog_data(
^^^^^^^^^^^^^^^^^^^^
File "/lisc/app/admixfrog/0.7.2-3.12.5/admixfrog/frog/admixfrog.py", line 329, in load_admixfrog_data
ref = load_ref(
^^^^^^^^^
File "/lisc/app/admixfrog/0.7.2-3.12.5/admixfrog/utils/input.py", line 86, in load_ref
ref0 = ref0[~np.isnan(ref0.reset_index("map").map.values)]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'function' object has no attribute 'values'

I would appreciate your help on the matter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions