adjtomo/pyatoa

small improvement when step_count is 0

Closed this issue · 0 comments

https://github.com/bch0w/pyatoa/blob/0c32e0e3215135a3767d6a5864116b611db5382c/pyatoa/utils/write.py#L219

if step_count is 0, this if is false and no adj_srcs are collected.

a possible workaroud is

if step_count is not None: