[Genabel-commits] r1360 - in pkg/ProbABEL: doc src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Nov 4 11:10:43 CET 2013
Author: lckarssen
Date: 2013-11-04 11:10:43 +0100 (Mon, 04 Nov 2013)
New Revision: 1360
Modified:
pkg/ProbABEL/doc/ChangeLog
pkg/ProbABEL/src/data.cpp
Log:
Fix bug #4919 in ProbABEL: Too small reading buffers for long alleles in mach info and legend files. Thanks to Daniel Taliun for reporting the bug and providing the patch (#4939). Thanks to Xia Shen for testing the fix.
Also updated the Changelog file.
Modified: pkg/ProbABEL/doc/ChangeLog
===================================================================
--- pkg/ProbABEL/doc/ChangeLog 2013-11-04 10:03:00 UTC (rev 1359)
+++ pkg/ProbABEL/doc/ChangeLog 2013-11-04 10:10:43 UTC (rev 1360)
@@ -1,3 +1,13 @@
+***** v.0.4.2
+* Fix bug #4919: Too small reading buffers for long alleles in mach info
+ and legend files. Thanks to Daniel Taliun for reporting the bug and
+ providing the patch. Thanks to Xia Shen for testing.
+* A minor change in the screen output of ProbABEL. Some of the status
+ messages ("Reading phenotype data" etc.) have been added or move to a
+ slightly different place in the code to help debugging problems with the
+ input data.
+* Fix a bug in the example scripts: an incorrect shell variable was used.
+
***** v.0.4.1 (2013.08.29)
* Fix bug #4854: When using mmscore, there is one (nan) column missing in
the output for low-frequency SNPs. Also includes a simplification of the
@@ -3,4 +13,5 @@
R-based test scripts.
+
***** v.0.4.0 (2013.08.25)
* The output files now contain a chi^2 column with the chi^2 value based
Modified: pkg/ProbABEL/src/data.cpp
===================================================================
--- pkg/ProbABEL/src/data.cpp 2013-11-04 10:03:00 UTC (rev 1359)
+++ pkg/ProbABEL/src/data.cpp 2013-11-04 10:10:43 UTC (rev 1360)
@@ -69,7 +69,7 @@
mlinfo::mlinfo(char * filename, char * mapname)
{
- char tmp[100];
+ char tmp[1048576];
unsigned int nlin = 0;
std::ifstream infile(filename);
if (infile.is_open())
@@ -136,7 +136,7 @@
if (mapname != NULL)
{
std::ifstream instr(mapname);
- int BFS = 1000;
+ int BFS = 1048576;
char line[BFS], tmp[BFS];
if (!instr.is_open())
{
More information about the Genabel-commits
mailing list