Mayrlab / scUTRquant

Bioinformatics pipeline for single-cell 3' UTR isoform quantification
https://Mayrlab.github.io/scUTRquant
GNU General Public License v3.0
14 stars 3 forks source link

Empty `cell_annots` broken #53

Closed mfansler closed 1 year ago

mfansler commented 1 year ago

Adding dependency resolution (#37) for cell_annots broke the case when it is empty (null in YAML; None in Python).

Modified example file, with cell_annots: null, gives

$ snakemake -c1 -n --configfile examples/heart_1k_v2_fastq/config-no-annots.yaml 
[INFO] Loading sample data...
[INFO] Loaded 1 samples.
SyntaxError:
Input and output files have to be specified as strings or lists of strings.
  File "/Users/mfansler/mayrlab/git/scUTRquant/Snakefile", line 436, in <module>