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

issues with creating campa.ini with campa setup commandline #12

Closed
kangsan422 opened this issue Jul 11, 2022 · 1 comment · Fixed by #15
Closed

issues with creating campa.ini with campa setup commandline #12

kangsan422 opened this issue Jul 11, 2022 · 1 comment · Fixed by #15

Comments

@kangsan422
Copy link

kangsan422 commented Jul 11, 2022

Dear Developers,

I am using a lab cluster (cpu) to test CAMPA out.

image

It appears that /home/bkang/.config/ directory does not exist. Please help!

@hspitzer
Copy link
Contributor

@kangsan422 thanks for checking CAMPA out and reporting this error. There was a bug in the code which prevented the campa config file from being created when ~/.config does not exist. I have pushed a fix to develop, and will include this in a new release in the next days.

If you install CAMPA from the develop branch (pip install git+https://github.com/theislab/campa.git@develop), you should be able to check this code out.
FYI, if you are calling campa setup from inside a Jupyer notebook, I'd recommend to include --quiet flag (! campa setup --quiet), because otherwise the script will ask you for Keyboard Input which I believe does not work within Jupyter.
You can also setup paths directly from within python: https://campa.readthedocs.io/en/latest/notebooks/setup.html

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

Successfully merging a pull request may close this issue.

2 participants