Skip to content

Commit

Permalink
change None to string
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahOuologuem committed Nov 26, 2024
1 parent 5d17214 commit 72f5d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panpipes/python_scripts/make_spatialData_from_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def check_dir_transform(infile_path, transform_file):
if args.spatial_filetype=="vizgen":
L.info("Reading in Vizgen data with squidpy.read.vizgen() into AnnData from directory " + args.spatial_infile)
# check that all vpt parameters are not None
if None not in (args.vpt_cell_by_gene, args.vpt_cell_metadata, args.vpt_cell_boundaries):
if "None" not in (args.vpt_cell_by_gene, args.vpt_cell_metadata, args.vpt_cell_boundaries):
vpt_outputs = {'cell_by_gene': Path(args.vpt_cell_by_gene) ,
'cell_metadata': Path(args.vpt_cell_metadata) ,
'cell_boundaries': Path(args.vpt_cell_boundaries)}
Expand Down

0 comments on commit 72f5d5b

Please sign in to comment.