Skip to content

Commit

Permalink
Release 1.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lemieuxl committed Mar 9, 2017
2 parents 9d4abab + 8df3963 commit 6173a48
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ operating systems. Its usage is shown below:
[--report-number NUMBER]
[--report-background BACKGROUND] --conf FILE
Runs the data clean up (pyGenClean version 1.8.2).
Runs the data clean up (pyGenClean version 1.8.3).
optional arguments:
-h, --help show this help message and exit
Expand Down
2 changes: 1 addition & 1 deletion docs/module_content/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Here is the usage of the main pipeline.
[--report-number NUMBER]
[--report-background BACKGROUND] --conf FILE
Runs the data clean up (pyGenClean version 1.8.2).
Runs the data clean up (pyGenClean version 1.8.3).
optional arguments:
-h, --help show this help message and exit
Expand Down
4 changes: 3 additions & 1 deletion pyGenClean/run_data_clean_up.py
Original file line number Diff line number Diff line change
Expand Up @@ -1859,6 +1859,8 @@ def run_remove_heterozygous_haploid(in_prefix, in_type, out_prefix, base_dir,
)
if nb_hh_missing:
nb_hh_missing = int(nb_hh_missing.group(1))
else:
nb_hh_missing = 0

# We write a LaTeX summary
latex_file = os.path.join(script_prefix + ".summary.tex")
Expand All @@ -1871,7 +1873,7 @@ def run_remove_heterozygous_haploid(in_prefix, in_type, out_prefix, base_dir,
"After Plink's heterozygous haploid analysis, a total of "
"{:,d} genotype{} were set to missing.".format(
nb_hh_missing,
"s" if nb_hh_missing - 1 > 1 else "",
"s" if nb_hh_missing > 1 else "",
)
)
print >>o_file, latex_template.wrap_lines(text)
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@

import os
import sys
import glob
import shutil
from setuptools import setup


MAJOR = 1
MINOR = 8
MICRO = 2
MICRO = 3
VERSION = "{0}.{1}.{2}".format(MAJOR, MINOR, MICRO)


Expand Down Expand Up @@ -126,5 +124,6 @@ def setup_package():
)
return


if __name__ == "__main__":
setup_package()

0 comments on commit 6173a48

Please sign in to comment.