Skip to content

Commit b5ec1d0

Browse files
committed
v5.2.2
1 parent d3a4c99 commit b5ec1d0

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
CARMEN is a diagnostic tool designed for surveillance purposes. Below are the instructions to complete your CARMEN analysis.
33

44
## Software Version
5-
When cloning this repository, you will be using software version 5.2.1.
5+
When cloning this repository, you will be using software version 5.2.2.
66

77
## Overview
88
At this point, you have ran the $Standard\ BioTools\ Dynamic\ Array^{TM}$ IFC (integrated fluidic circuit) on the $Standard\ BioTools\ Biomark^{TM}$ instrument and have completed the experimental portion of CARMEN. In running this code, you will be able to complete the data analysis portion of CARMEN and generate both binary positive/negative and quantitative signal output of your diagnostic assay.

analyze_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
######################################################################################################################################################
5454
# assign software version
55-
software_version = '5.2.1'
55+
software_version = '5.2.2'
5656

5757
######################################################################################################################################################
5858
# data loading

redcap_builder.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,10 @@ def merge_group(group, bbp_P1_assays, bbp_P2_assays, rvp_assays):
9797
### strip all _ and asterisks from the column names
9898
for i, col in enumerate(redcap_t13_hit_binary_output.columns):
9999
if not re.search(r'rnasep', col, re.IGNORECASE):
100-
new_col = re.split(r'[_*]', col)[0] # remove _ and * from all col names for assays
100+
new_col = re.split(r'[*]', col)[0] # remove _ and * from all col names for assays
101+
new_col = "_".join(new_col.split("_")[:-1])
102+
#record_id = record_id.split("_")[:-1]
103+
#record_id = "_".join(record_id)
101104
redcap_t13_hit_binary_output.columns.values[i] = new_col
102105
if re.search(r'rnasep', col, re.IGNORECASE):
103106
new_col = re.split(r'[*]', col)[0] # we don't want to remove the _P1 or _RVP or _P2 part from RNASEP column header

0 commit comments

Comments
 (0)