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

Flashier compatibility #23

Open
brandon-wenz opened this issue Aug 7, 2023 · 3 comments
Open

Flashier compatibility #23

brandon-wenz opened this issue Aug 7, 2023 · 3 comments

Comments

@brandon-wenz
Copy link

Hi,
I am trying to use the eQTL workflow but am running into an issue that I haven't seen mentioned. When running the mashr_flashr_workflow.ipynb I am getting an error :
"INFO: Running flash: Perform FLASH analysis with non-negative factor constraint (time estimate: 20min)
ERROR: flash (id=e5206fa16d7663ef) returns an error.
INFO: Running flash_nonneg: Perform FLASH analysis with non-negative factor constraint (time estimate: 20min)
ERROR: flash_nonneg (id=cbc617a36edccad1) returns an error."
In the stderr file it says : "Error: 'flash.init' is not an exported object from 'namespace:flashier'". I belive this is because it appears the flashier package has changed their function names (https://github.com/willwerscheid/flashier) so perhaps flash.init now needs to be flash_init. I think there are a few other examples that likely have changed. If this is indeed an issue, hopefully it can help someone else who is having an issue. I have been trying to figure out a workaround, but have been unsuccessful so far.
Thanks!

@brandon-wenz brandon-wenz changed the title Flashier compatability Flashier compatibility Aug 8, 2023
@stephens999
Copy link
Collaborator

One solution would be to install an older version of flashier, from before the name changes.

[Similar issues have been encountered by other users with other packages breaking with the flashier changes. Perhaps @pcarbo has comments or pointers.]

@pcarbo
Copy link
Member

pcarbo commented Aug 19, 2023

@brandon-wenz This should be fixed now with the latest versions of flashier and mashr available on GitHub.

@brandon-wenz
Copy link
Author

Thank you both very much! This fixed the issue. I did attempt to install an older version of flashier, but perhaps due to my inexperience with these things, was unable to figure out how to install a previous version from github. Thanks!

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

3 participants