Skip to content

Commit

Permalink
system headers go first
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengxwen committed Mar 30, 2024
1 parent 169b9a1 commit d2a156a
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 16 deletions.
4 changes: 2 additions & 2 deletions src/ConvGDS2VCF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
// along with SeqArray.
// If not, see <http://www.gnu.org/licenses/>.

#include "Index.h"
#include "vectorization.h"
#include <cstdio>
#include <cstring>
#include <vector>
#include "Index.h"
#include "vectorization.h"

using namespace std;

Expand Down
2 changes: 1 addition & 1 deletion src/ConvToGDS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
// along with SeqArray.
// If not, see <http://www.gnu.org/licenses/>.

#include "Index.h"
#include <vector>
#include "Index.h"

using namespace std;
using namespace SeqArray;
Expand Down
4 changes: 2 additions & 2 deletions src/ConvVCF2GDS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
// along with SeqArray.
// If not, see <http://www.gnu.org/licenses/>.

#include "Index.h"
#include "vectorization.h"
#include <vector>
#include <set>
#include <algorithm>
#include "Index.h"
#include "vectorization.h"


// 1: load format field except GT
Expand Down
2 changes: 1 addition & 1 deletion src/FileMerge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
// along with SeqArray.
// If not, see <http://www.gnu.org/licenses/>.

#include "Index.h"
#include <set>
#include <algorithm>
#include "Index.h"
#include "ReadByVariant.h"
#include "ReadBySample.h"

Expand Down
3 changes: 1 addition & 2 deletions src/Index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@
// along with SeqArray.
// If not, see <http://www.gnu.org/licenses/>.

#include <cstdio>
#include "Index.h"
#include <stdio.h>
#include <string.h>

using namespace std;

Expand Down
6 changes: 2 additions & 4 deletions src/Index.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,16 @@
#ifndef _HEADER_SEQ_INDEX_
#define _HEADER_SEQ_INDEX_

#include <R_GDS_CPP.h>
#include <dTrait.h>

#include <string>
#include <vector>
#include <list>
#include <map>
#include <set>
#include <ctime>

#include <cctype>
#include <cstring>
#include <dTrait.h>
#include <R_GDS_CPP.h>
#include "vectorization.h"


Expand Down
1 change: 0 additions & 1 deletion src/LinkSNPRelate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

#include "ReadByVariant.h"
#include "ReadBySample.h"

#include <Rinternals.h>
#include <R_ext/Rdynload.h>

Expand Down
5 changes: 2 additions & 3 deletions src/SeqArray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@
// along with SeqArray.
// If not, see <http://www.gnu.org/licenses/>.

#include "Index.h"
#include <set>
#include <algorithm>
#include <ctype.h>
#include "Index.h"
#include "ReadByVariant.h"
#include "ReadBySample.h"
#include <ctype.h>

#include <Rinternals.h>
#include <R_ext/Rdynload.h>

Expand Down

0 comments on commit d2a156a

Please sign in to comment.