File: Fix_spelling_error.patch

package info (click to toggle)
plink 1.07%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,132 kB
  • sloc: cpp: 72,375; makefile: 123; sh: 12
file content (66 lines) | stat: -rw-r--r-- 2,227 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Author: Dylan Aïssi
Description: Fix spelling error.
Last-Update: 2016-10-11
Forwarded: no

--- a/dosage.cpp
+++ b/dosage.cpp
@@ -1258,7 +1258,7 @@
 	       + " markers, " + int2str( totCount ) 
 	       + " across all files\n");
       if ( nonF == 0 ) 
-	printLOG("All SNPs occured exactly once in all files\n");
+	printLOG("All SNPs occurred exactly once in all files\n");
       else
 	printLOG("Note: " + int2str(nonF) + " SNPs did not occur exactly once per file\n");
       
--- a/gvar.cpp
+++ b/gvar.cpp
@@ -586,7 +586,7 @@
 
   if ( true )
     {
-      printLOG("Writing frequency & genotyping informtion to [ " 
+      printLOG("Writing frequency & genotyping information to [ " 
 	       + par::output_file_name 
 	       + ".gvar.summary ]\n");
       GOUT.open( ( par::output_file_name 
--- a/model.cpp
+++ b/model.cpp
@@ -165,7 +165,7 @@
 void Model::addDominanceSNP(int d)
 {
   if ( ! has_snps )
-    error("Cannot add SNP to thie MODEL");
+    error("Cannot add SNP to this MODEL");
 
   dominance.push_back(d);
 
--- a/binput.cpp
+++ b/binput.cpp
@@ -471,10 +471,10 @@
   // If 0.99 file format
   if ( (!v1_bfile) && ( b[1] || b[2] || b[3] || b[4] || b[5] || b[6] || b[7] ) )
     {
-      printLOG("\n *** Possible problem: guessing that BED is < v0.99      *** \n");
-      printLOG(" *** High chance of data corruption, spurious results    *** \n");
-      printLOG(" *** Unles you are _sure_ this really is an old BED file *** \n");
-      printLOG(" *** you should recreate PED -> BED                      *** \n\n");
+      printLOG("\n *** Possible problem: guessing that BED is < v0.99       *** \n");
+      printLOG(" *** High chance of data corruption, spurious results     *** \n");
+      printLOG(" *** Unless you are _sure_ this really is an old BED file *** \n");
+      printLOG(" *** you should recreate PED -> BED                       *** \n\n");
 
       bfile_SNP_major = false;
       BIT.close();
--- a/sets.cpp
+++ b/sets.cpp
@@ -812,7 +812,7 @@
 void Set::profileTestInitialise()
 {
   
-  PP->printLOG("Initalising profile-based set test\n");
+  PP->printLOG("Initialising profile-based set test\n");
 
   // Set up the mapping to determine which set(s) 
   // a given SNP is in