Open HMCNJ opened 5 years ago
I have the same question
did you resolve this problem? i also meet this question
hey it might be that you have an empty file, try removing the mrbase.oauth file and re-authenticating
yes,I reauthenticate several times,but mrbase.oauth file is always empty
---Original--- From: "gibran hemani"<notifications@github.com> Date: Fri, Nov 15, 2019 18:32 PM To: "MRCIEU/TwoSampleMR"<TwoSampleMR@noreply.github.com>; Cc: "Comment"<comment@noreply.github.com>;"SunnyWit"<2970138204@qq.com>; Subject: Re: [MRCIEU/TwoSampleMR] Problems with accessing google authentication (#113)
hey it might be that you have an empty file, try removing the mrbase.oauth file and re-authenticating
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Sorry I'm not sure why this is happening. I would just check that the mrbase.oauth file in the working directory is definitely being removed (e.g. check the time stamp of the newly created one), and if problems still persist then avoid using authentication by:
a<-extract_instruments(outcomes=324, access_token=NULL)
did you resolve this problem? i also meet this question
you can only extract the avaliable trait id. ao<-available_outcomes(access_token = NULL)
We try to extract_instrument from MR Base database, we failed to get a link to my Google account and the errors as follows: `a<-extract_instruments(outcomes=324) Requesting default values. Extracting from pre-clumped data 0 out of 1 requested outcomes have pre-calculated instruments. Extracting data from 1 GWAS(s) and performing LD clumping [>] 1 of 1 Error: Cannot read token from alleged .rds file: mrbase.oauthError in readRDS(token_path): error reading from connection'