-
Notifications
You must be signed in to change notification settings - Fork 33
Description
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