Skip to content

Commit

Permalink
Merge pull request #729 from maxplanck-ie/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
katsikora committed Nov 19, 2020
2 parents 3f3d2bf + 0faa0ef commit c1ca589
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: snakepipes
version: 2.4.0
version: 2.4.1

source:
path: ../
Expand Down
5 changes: 5 additions & 0 deletions docs/content/News.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
snakePipes News
===============

snakePipes 2.4.1
----------------

* Fixed sampleSheet splitting for multiple pairwise comparisons when group "All" is not listed.

snakePipes 2.4.0
----------------

Expand Down
2 changes: 1 addition & 1 deletion docs/content/setting_up.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The easiest way to install snakePipes is via our conda channel. The following co

.. code:: bash
conda create -n snakePipes -c mpi-ie -c conda-forge -c bioconda snakePipes==2.4.0
conda create -n snakePipes -c mpi-ie -c conda-forge -c bioconda snakePipes==2.4.1
This way, the software used within snakePipes do not conflict with the software pre-installed on your terminal or in your python environment.

Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Quick start

.. code:: bash
conda create -n snakePipes -c mpi-ie -c conda-forge -c bioconda snakePipes==2.4.0
conda create -n snakePipes -c mpi-ie -c conda-forge -c bioconda snakePipes==2.4.1
* You can update snakePipes to the latest version available on conda with:

Expand Down
2 changes: 1 addition & 1 deletion snakePipes/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.4.0'
__version__ = '2.4.1'
10 changes: 5 additions & 5 deletions snakePipes/common_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,11 +289,11 @@ def splitSampleSheet(sampleSheet, destination_pfx):
for k in d.keys():
if k != "All" and "All" in d.keys():
d[k].extend(d['All'])
outfile = os.path.join("splitSampleSheets", '.'.join([os.path.basename(destination_pfx), k, 'tsv']))
with open(outfile, 'w') as of:
of.write('name\tcondition\n')
for item in d[k]:
of.write('\t'.join(item) + '\n')
outfile = os.path.join("splitSampleSheets", '.'.join([os.path.basename(destination_pfx), k, 'tsv']))
with open(outfile, 'w') as of:
of.write('name\tcondition\n')
for item in d[k]:
of.write('\t'.join(item) + '\n')

return

Expand Down

0 comments on commit c1ca589

Please sign in to comment.