Comments (5)
Thank you very much for the bug report. Recentrifuge is developed and tested on my mac:
Darwin Kernel Version 15.6.0: Wed May 2 21:04:22 PDT 2018; root:xnu-3248.73.10~1/RELEASE_X86_64
So, I will try to reproduce your issue with conda. Anyway, it may be a problem with the matplotlib backend (like in this SO question). In the meantime, could you please set the environment variable MPLBACKEND
to PDF
before running retest
to check if something changes? Thanks!
from recentrifuge.
There are some well-known (not for me) issues with matplotlib/conda/osx (see matplotlib docs for example) so that some fine-tuning is required. I found two ways to get retest
properly ending under conda/bash/osx on my mac:
- Setting the matplotlib backend to
PDF
:
$ conda create -n recentrifuge python=3.7
$ conda activate recentrifuge
(recentrifuge)$ git clone https://github.com/khyox/recentrifuge.git
(recentrifuge)$ cd recentrifuge
(recentrifuge)$ conda install --file=requirements.txt
(recentrifuge)$ export MPLBACKEND=PDF
(recentrifuge)$ ./retest -d -l -r
- Using use
pythonw
rather thanpython
as suggested on matplotlib docs:
$ conda create -n rcf python=3.7
$ source activate rcf
(rcf)$ git clone https://github.com/khyox/recentrifuge.git
(rcf)$ cd recentrifuge
(rcf)$ conda install python.app
(rcf)$ conda install --file=requirements.txt
(rcf)$ pythonw retest -d -l -r
Please, confirm me if any of these works for you. If so, I will update the docs with instructions for conda users. Thanks!
from recentrifuge.
Thanks @khyox, that fixed it!
I ran
conda create -n recentrifuge python=3.7 pandas openpyxl xlrd matplotlib
source activate recentrifuge
export MPLBACKEND=PDF
pip install recentrifuge
retest -d -r
and got
$ echo $?
0
Note that using pythonw
isn't really a fix, because it jumps outside the conda environment:
$ which pythonw
/usr/local/bin/pythonw
from recentrifuge.
Thanks for the feedback @BenKaehler!
That's interesting. In my mac, pythonw
is executed inside the conda enviroment where I installed the python framework build with conda install python.app
:
(rcf)$ which pythonw
/anaconda3/envs/rcf/bin/pythonw
Anyway, I think I will hardwire the matplotlib PDF backend in the retest
code to avoid future problems.
from recentrifuge.
Thanks @khyox. I would guess that's because I didn't install python.app
.
from recentrifuge.
Related Issues (20)
- ZeroDivisionError HOT 2
- Compatibility with Ganon? HOT 5
- rextract: ZeroDivisionError HOT 3
- -k for multiple directories of .krk files? HOT 3
- Contamination removal help and too large HTML files HOT 11
- definition of contaminat level for removal? HOT 1
- interpreting log file for contamination removal HOT 3
- abundance table as output HOT 1
- Enhancement: provide control samples in a different directory
- (question) produced output HOT 1
- Score understanding HOT 1
- refasplit output files with non-padded zeros
- Rextract from Kraken2 output HOT 1
- float deprecated in numpy 1.24 HOT 1
- Issue with nodes/names missing unclassified readID (0) HOT 1
- ImportError: cannot import name 'SequentialSequenceWriter' from 'Bio.SeqIO.Interfaces' HOT 9
- OverflowError when trying passing centrifuge input test HOT 3
- Building nt database - no multithreading at centrifuge-build step HOT 5
- taxonomy files for common 16S datasets?
- Error code 13? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recentrifuge.