Skip to content

Commit 6d3eb3a

Browse files
committed
disable adding the metrics into payloads
1 parent 5dcf9d6 commit 6d3eb3a

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

payload-gen-variant-calling/main.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,13 @@ def get_files_info(file_to_upload, wf_short_name, wf_version, somatic_or_germli
170170
else:
171171
sys.exit('Error: unknown file type "%s"' % file_to_upload)
172172

173-
tar = tarfile.open(file_to_upload)
174-
for member in tar.getmembers():
175-
if member.name.endswith('.extra_info.json'):
176-
f = tar.extractfile(member)
177-
extra_info = json.load(f)
178-
break
173+
## Disable the population of qc_metrics into payload to avoid the exposure of sensitive info
174+
# tar = tarfile.open(file_to_upload)
175+
# for member in tar.getmembers():
176+
# if member.name.endswith('.extra_info.json'):
177+
# f = tar.extractfile(member)
178+
# extra_info = json.load(f)
179+
# break
179180
else:
180181
sys.exit('Error: unknown file type "%s"' % file_to_upload)
181182

0 commit comments

Comments
 (0)