Can you please change this check into something more explicit, like:

```
samples_ids = None
if opts.sample_ids is not None:
    sample_ids = opts.sample_ids.split(',')
```

I think this way of checking is clearer.