Author Archives: Thomas Cokelaer

conda and bioconda channel

Anaconda ( https://www.continuum.io/downloads ) provides a Python distribution with more than 400 of the most popular Python packages for science, math, engineering, and data analysis. Anaconda installs an executable called conda that will be your entry point. Anaconda solves two … Continue reading

Posted in biology, Python | Tagged , , | 1 Comment

pypi upload failed (401)

On a new computer after a fresh installation, I tried to upload a new version of an existing package on the pypi repository. Of course, I have already a username/password and uploaded packages in the past. However, in the source … Continue reading

Posted in Python | Tagged | Leave a comment

Installing Fedora 23 in dual-boot and post-installation

I’ve just installed Fedora 23 from scratch in dualboot (with an existing windows partition). The installation is better and better and you do not need to create the partition under windows. Just downloaded the iso file from fedora website and … Continue reading

Posted in Linux | Tagged | Leave a comment

python: certificate verified failed

I was just trying to download a file on github (raw) using wget package (or curl) under Python2.7.11 and Windows 7. I got a certificate error as follows: IOError: [Errno socket error] [ SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)IOError: [Errno … Continue reading

Posted in Python | Tagged , | 22 Comments

Installing a perl module under linux

Sometimes you need to use perl… and quickly you need to install a missing dependencies. you can do it manually but it can be cumbersome. Here is another way using cpanminus tools: curl -L http://cpanmin.us | perl – –sudo App::cpanminuscurl … Continue reading

Posted in Computer Science | Tagged | Leave a comment

Starting with docker and creating an image with ipython

On my fedora box, I followed the instructions from the official web page: https://docs.docker.com/installation/fedora/ sudo yum -y install docker sudo systemctl start docker sudo systemctl enable docker sudo docker run -i -t fedora /bin/bashsudo yum -y install docker sudo systemctl … Continue reading

Posted in Computer Science, Linux, Uncategorized | Tagged | Leave a comment

git error: cannot do a partial commit during a merge.

After a pull command, I ended up with a conflict in a file, which I fixed by manually editing the file (search for the

Posted in Computer Science | Tagged | 5 Comments

How to update a forked repository (github)

I followed those steps and it worked like a charm using github interface assuming there was no changes between the fork and main repository Open your fork on GitHub. Click on Pull Requests. Click on New Pull Request. By default, … Continue reading

Posted in Software development, Uncategorized | Tagged , | 1 Comment

Moving from SVN to git: $Id:$ equivalent

In SVN (and CVS), you could include special strings such as $Id:$$Id:$ and after a commit, the revision number would appear after “Id:”, which was a convenient way to retrieve the revision for instance in a print statement. Apparently, with … Continue reading

Posted in Software development, Uncategorized | Tagged | 1 Comment

migrating a SVN sub-directory to GIThub

Follow-up on a previous about migrating an entire SVN repository to github keeping the history: For a sub-directory within a SVN, you should use git svn clone svn+ssh://path/to/repo/ –trunk=trunk/directory –branches=branches/*/directory –tags=tags/*/directorygit svn clone svn+ssh://path/to/repo/ –trunk=trunk/directory –branches=branches/*/directory –tags=tags/*/directory without the –stdlayout … Continue reading

Posted in Computer Science | Tagged , | Leave a comment