Skip to content

Commit f70ede8

Browse files
authored
Merge pull request #352 from PNNL-CompBio/bladder_pdo
concatenation fix for bladderpdo exp files
2 parents 24816d3 + 6c6a5b7 commit f70ede8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build/bladderpdo/03_createBladderPDOExperimentFile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ def get_bladder_pdo_experiments(synObject, samples, drugs):
4848
final_drugdata['time_unit'] = 'days'
4949
#print(final_drugdata.head)
5050
# append to dataframe
51-
dose_resp_df = pd.concat([drug_df, final_drugdata])
51+
drug_df = pd.concat([drug_df, final_drugdata])
5252

53-
return dose_resp_df
53+
return drug_df
5454

5555

5656
if __name__ == "__main__":

build/bladderpdo/build_exp.sh

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ trap 'echo "Error on or near line $LINENO while executing: $BASH_COMMAND"; exit
66
echo "Running 04-drug_dosage_and_curves.py with drugfile $2 and curSampleFile $1"
77
python3 03_createBladderPDOExperimentFile.py --token $SYNAPSE_AUTH_TOKEN --drugfile $2 --curSampleFile $1 --output /tmp/bladderpdo_doserep.tsv
88

9-
python3 fit_curve.py --input /tmp/bladderpdo_doserep.tsv --output /tmp/bladderpdo_doserep.tsv
9+
python3 fit_curve.py --input /tmp/bladderpdo_doserep.tsv --output /tmp/bladderpdo_experiments.tsv

0 commit comments

Comments
 (0)