Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OBITools3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OBITools
OBITools3
Commits
936be64c
Commit
936be64c
authored
Dec 05, 2016
by
Celine Mercier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Goes with
5e0c9f87
(missing ';' and fixed compilation warnings)
parent
5e0c9f87
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
34 additions
and
34 deletions
+34
-34
python/obitools3/obidms/capi/obiview.pxd
python/obitools3/obidms/capi/obiview.pxd
+1
-1
src/obidmscolumn.c
src/obidmscolumn.c
+4
-4
src/obidmscolumn.h
src/obidmscolumn.h
+8
-8
src/obiview.c
src/obiview.c
+10
-10
src/obiview.h
src/obiview.h
+11
-11
No files found.
python/obitools3/obidms/capi/obiview.pxd
View file @
936be64c
...
...
@@ -81,7 +81,7 @@ cdef extern from "obiview.h" nogil:
OBIType_t
data_type
,
index_t
nb_lines
,
index_t
nb_elements_per_line
,
c
onst_char_p
elements_names
,
c
har
*
elements_names
,
const_char_p
indexer_name
,
const_char_p
associated_column_name
,
obiversion_t
associated_column_version
,
...
...
src/obidmscolumn.c
View file @
936be64c
...
...
@@ -131,7 +131,7 @@ static obiversion_t create_version_file(OBIDMS_column_directory_p column_directo
* @since December 2016
* @author Celine Mercier (celine.mercier@metabarcoding.org)
*/
static
char
*
build_default_elements_names
(
index_t
nb_elements_per_line
)
static
char
*
build_default_elements_names
(
index_t
nb_elements_per_line
)
;
/**
...
...
@@ -147,7 +147,7 @@ static char* build_default_elements_names(index_t nb_elements_per_line)
* @since July 2015
* @author Celine Mercier (celine.mercier@metabarcoding.org)
*/
static
int
obi_column_set_elements_names
(
OBIDMS_column_p
column
,
c
onst
c
har
*
elements_names
);
static
int
obi_column_set_elements_names
(
OBIDMS_column_p
column
,
char
*
elements_names
);
/**
...
...
@@ -467,7 +467,7 @@ static char* build_default_elements_names(index_t nb_elements_per_line)
}
int
obi_column_set_elements_names
(
OBIDMS_column_p
column
,
c
onst
c
har
*
elements_names
)
int
obi_column_set_elements_names
(
OBIDMS_column_p
column
,
char
*
elements_names
)
{
if
(
strlen
(
elements_names
)
>
ELEMENTS_NAMES_MAX
)
{
...
...
@@ -603,7 +603,7 @@ OBIDMS_column_p obi_create_column(OBIDMS_p dms,
OBIType_t
data_type
,
index_t
nb_lines
,
index_t
nb_elements_per_line
,
c
onst
char
*
elements_names
,
c
har
*
elements_names
,
const
char
*
indexer_name
,
const
char
*
associated_column_name
,
obiversion_t
associated_column_version
,
...
...
src/obidmscolumn.h
View file @
936be64c
...
...
@@ -197,16 +197,16 @@ size_t obi_get_platform_header_size();
* @since May 2015
* @author Celine Mercier (celine.mercier@metabarcoding.org)
*/
OBIDMS_column_p
obi_create_column
(
OBIDMS_p
dms
,
const
char
*
column_name
,
OBIType_t
data_type
,
index_t
nb_lines
,
index_t
nb_elements_per_line
,
c
onst
char
*
elements_names
,
const
char
*
indexer_name
,
OBIDMS_column_p
obi_create_column
(
OBIDMS_p
dms
,
const
char
*
column_name
,
OBIType_t
data_type
,
index_t
nb_lines
,
index_t
nb_elements_per_line
,
c
har
*
elements_names
,
const
char
*
indexer_name
,
const
char
*
associated_column_name
,
obiversion_t
associated_column_version
,
const
char
*
comments
const
char
*
comments
);
...
...
src/obiview.c
View file @
936be64c
...
...
@@ -1721,19 +1721,19 @@ Obiview_p obi_open_view(OBIDMS_p dms, const char* view_name)
}
int
obi_view_add_column
(
Obiview_p
view
,
const
char
*
column_name
,
int
obi_view_add_column
(
Obiview_p
view
,
const
char
*
column_name
,
obiversion_t
version_number
,
const
char
*
alias
,
OBIType_t
data_type
,
index_t
nb_lines
,
index_t
nb_elements_per_line
,
c
onst
char
*
elements_names
,
const
char
*
indexer_name
,
const
char
*
associated_column_name
,
const
char
*
alias
,
OBIType_t
data_type
,
index_t
nb_lines
,
index_t
nb_elements_per_line
,
c
har
*
elements_names
,
const
char
*
indexer_name
,
const
char
*
associated_column_name
,
obiversion_t
associated_column_version
,
const
char
*
comments
,
bool
create
)
// all infos for creation or open
bool
create
)
// all infos for creation or open
{
int
i
;
OBIDMS_column_p
column
;
...
...
src/obiview.h
View file @
936be64c
...
...
@@ -313,19 +313,19 @@ Obiview_p obi_open_view(OBIDMS_p dms, const char* view_name);
* @since February 2016
* @author Celine Mercier (celine.mercier@metabarcoding.org)
*/
int
obi_view_add_column
(
Obiview_p
view
,
const
char
*
column_name
,
int
obi_view_add_column
(
Obiview_p
view
,
const
char
*
column_name
,
obiversion_t
version_number
,
const
char
*
alias
,
OBIType_t
data_type
,
index_t
nb_lines
,
index_t
nb_elements_per_line
,
c
onst
char
*
elements_names
,
const
char
*
indexer_name
,
const
char
*
associated_column_name
,
const
char
*
alias
,
OBIType_t
data_type
,
index_t
nb_lines
,
index_t
nb_elements_per_line
,
c
har
*
elements_names
,
const
char
*
indexer_name
,
const
char
*
associated_column_name
,
obiversion_t
associated_column_version
,
const
char
*
comments
,
bool
create
);
const
char
*
comments
,
bool
create
);
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment