Skip to content

Commit 2fa903b

Browse files
authored
Fix counts_path resolution in toolbox.py
1 parent f51b1c4 commit 2fa903b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cellpyability/toolbox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def run_cellprofiler(image_dir, counts_file=None, output_dir=None):
253253

254254
# If a counts file is provided, use it instead of running CellProfiler
255255
if counts_file is not None:
256-
counts_path = Path(counts_file),resolve()
256+
counts_path = Path(counts_file).resolve()
257257
if not counts_path.exists():
258258
logger.critical(f'Counts file {counts_file} does not exist.')
259259
exit(1)

0 commit comments

Comments
 (0)