Skip to content

Commit

Permalink
fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mahaalbashir committed Oct 31, 2023
1 parent 01d3db0 commit c6ccb53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion acro.R
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ acro_surv_func <- function(time, status, output, filename="kaplan-meier.png"){
"Estimates the survival function. Produce either a plot of table"
results = ac$surv_func(time=time, status=status, output=output, filename=filename)
if (output=="plot"){
# Loasd the saved survival plot
# Load the saved survival plot
image <- readPNG(results[[2]])
grid.raster(image)
}
Expand Down
4 changes: 2 additions & 2 deletions acro/acro_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ def survival_plot( # pylint: disable=too-many-arguments,too-many-locals
increment_number = 0
while os.path.exists(
f"acro_artifacts/{filename}_{increment_number}{extension}"
):
): # pragma: no cover
increment_number += 1
unique_filename = f"acro_artifacts/{filename}_{increment_number}{extension}"

Expand Down Expand Up @@ -715,7 +715,7 @@ def hist( # pylint: disable=too-many-arguments,too-many-locals
increment_number = 0
while os.path.exists(
f"acro_artifacts/{filename}_{increment_number}{extension}"
):
): # pragma: no cover
increment_number += 1
unique_filename = f"acro_artifacts/{filename}_{increment_number}{extension}"

Expand Down

0 comments on commit c6ccb53

Please sign in to comment.