Skip to content

Commit 264fc7e

Browse files
committed
Bugfix for CLI grn step
- Determination of filename extension - Related to #175
1 parent bd27edc commit 264fc7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pyscenic/cli/pyscenic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def find_adjacencies_command(args):
7777

7878
LOGGER.info("Writing results to file.")
7979

80-
extension = PurePath(fname).suffixes
80+
extension = PurePath(args.output.name).suffixes
8181
network.to_csv(args.output, index=False, sep=suffixes_to_separator(extension))
8282

8383

0 commit comments

Comments
 (0)