TheJacksonLaboratory / splicing-pipelines-nf

Repository for the Anczukow-Lab splicing pipeline
14 stars 9 forks source link

Fix strType issue when stranded=false #276

Closed Vlad-Dembrovskyi closed 2 years ago

Vlad-Dembrovskyi commented 2 years ago

Fixes issue when params.stranded = false (or --stranded false):

Cannot get property 'strType' on null object

 -- Check script '/projects/anczukow-lab/splicing_pipeline/splicing-pipelines-nf/main.nf' at line: 182 or see '.nextflow.log' file for more details

Source: https://lifebit-biotech.slack.com/archives/D02B1UGL8JY/p1632756104002500?thread_ts=1632496920.004800&cid=D02B1UGL8JY

Vlad-Dembrovskyi commented 2 years ago

Successfully tested by @angarb on sumner (link). Merging.