Skip to content

ukb-rap-pheno-basic.ipynb #42

@alyssacl

Description

@alyssacl

Hello, I have always used this notebook to extract variables from my UKBB project.

Today when I try to run the exact same script, when I get to finding field names for a given id, this error occurs.

#Age when attending assessment centre has multiple instances (visits):
field_names_for_id('21003')
This error occurs:
/tmp/ipykernel_631/339987039.py:7: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. return sorted(fields, key=lambda f: LooseVersion(f.name))

Then when I try to retrieve the fields i get this error:
df = participant.retrieve_fields(names=field_names, engine=dxdata.connect())
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/cluster/dnax/jars/dnanexus-api-0.1.0-SNAPSHOT-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/cluster/spark/jars/log4j-slf4j-impl-2.17.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).

Can you please advise?
Thank you,
Alyssa

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