VIB-PSB / MINI-EX

Motif-Informed Network Inference of cell type-specific gene regulatory networks in plants
Other
15 stars 8 forks source link

Check user input: check column number and compression state #18

Open Haematococcus opened 6 months ago

Haematococcus commented 6 months ago

Dear Developers

I noticed that when I mistakenly supply either (1) a file with the wrong number of columns, or (2) a gzipped file that was supposed to be unzipped (such as the miniexExample_allMarkers.tsv file), the "check_user_input" stage does not flag this. Instead, an error gets thrown when these files are parsed later in the script.

Would it be possible to add checks for these two cases to the user input verification stage?

Thank you!