Skip to content

Commit

Permalink
coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolai-vKuegelgen committed Mar 11, 2024
1 parent b61ec12 commit d4e624f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cubi_tk/irods_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def get(self, force_overwrite: bool = False):
file_log.set_description_str(
f"File [{n + 1}/{len(self.__jobs)}]: {Path(job.path_local).name}"
)
if os.path.exists(job.path_local) and not force_overwrite:
if os.path.exists(job.path_local) and not force_overwrite: # pragma: no cover
logger.info(
f"{Path(job.path_local).name} already exists. Skipping, use force_overwrite to re-download."
)
Expand Down Expand Up @@ -320,7 +320,7 @@ def retrieve_irods_data_objects(self, irods_path: str) -> Dict[str, List[iRODSDa
irods_obj_dict = self.parse_irods_collection(irods_data_objs)
return irods_obj_dict

except Exception as e:
except Exception as e: # pragma: no cover
logger.error("Failed to retrieve iRODS path: %s", self.get_irods_error(e))
raise

Expand Down

0 comments on commit d4e624f

Please sign in to comment.