Skip to content

Commit

Permalink
cosmetic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sigven committed Feb 17, 2025
1 parent 143b0ee commit 783a5e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions pcgr/maf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def update_maf(maf_tmp_fname: str,
Args:
maf_tmp_fname (str): File name of the temporary MAF file.
maf_fname (str): File name of the final MAF file.
allelic_support_tags (dict): Dictionary of allelic support tags.
allelic_support_tags (dict): Dictionary of allelic support tags (encoded in VCF INFO field and retained in MAF).
logger: Logger object for logging messages.
update_allelic_support (bool): Flag indicating whether to update allelic support.
Returns:
Expand All @@ -38,7 +38,6 @@ def update_maf(maf_tmp_fname: str,
raw_maf_data = pd.read_csv(maf_tmp_fname, sep="\t", header=1, dtype='string',na_values=['.'], low_memory=False)
if update_allelic_support is False:
# write to file
b = 1
os.rename(maf_tmp_fname, maf_fname)
else:

Expand Down
1 change: 1 addition & 0 deletions pcgrr/pcgrr.Rproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Version: 1.0
ProjectId: 54b09f5c-7bcb-48f9-ad45-4e1cfc6104da

RestoreWorkspace: Default
SaveWorkspace: Default
Expand Down

0 comments on commit 783a5e3

Please sign in to comment.