Skip to content

Commit

Permalink
fixing pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
Maha Albashir authored and Maha Albashir committed Oct 30, 2023
1 parent 6c0e740 commit 01d3db0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions acro/acro_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ def survival_plot( # pylint: disable=too-many-arguments,too-many-locals
filename, extension = os.path.splitext(filename)
if not extension: # pragma: no cover
logger.info("Please provide a valid file extension")
return
return None
increment_number = 0
while os.path.exists(
f"acro_artifacts/{filename}_{increment_number}{extension}"
Expand Down Expand Up @@ -633,7 +633,7 @@ def hist( # pylint: disable=too-many-arguments,too-many-locals
"Calculating histogram for more than one columns is "
"not currently supported. Please do each column separately."
)
return
return None

freq, _ = np.histogram( # pylint: disable=too-many-function-args
data[column], bins, range=(data[column].min(), data[column].max())
Expand Down Expand Up @@ -711,7 +711,7 @@ def hist( # pylint: disable=too-many-arguments,too-many-locals
filename, extension = os.path.splitext(filename)
if not extension: # pragma: no cover
logger.info("Please provide a valid file extension")
return
return None
increment_number = 0
while os.path.exists(
f"acro_artifacts/{filename}_{increment_number}{extension}"
Expand Down

0 comments on commit 01d3db0

Please sign in to comment.