We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 028d039 commit a496473Copy full SHA for a496473
1 file changed
build/cptac/getCptacData.py
@@ -288,8 +288,9 @@ def main():
288
exit()
289
290
# Remove the old values in samples (from prev file)
291
- samples.drop(samples.index,inplace=True)
292
-
+ if 'other_id_source' in samples.columns:
+ samples = samples[samples['other_id_source'] == 'CPTAC3'].copy()
293
+
294
# Create new samples
295
if build_samples:
296
# Loop through the cancer types to build samples
0 commit comments