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

ukb-rap-pheno-basic.ipynb #42

Open
alyssacl opened this issue Aug 9, 2023 · 0 comments
Open

ukb-rap-pheno-basic.ipynb #42

alyssacl opened this issue Aug 9, 2023 · 0 comments

Comments

@alyssacl
Copy link

alyssacl commented Aug 9, 2023

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

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