I think it's because the logic above sometimes has df_ab_lin as a dataframe and sometimes as a series. You probably want to standardize on a single type for code sanity below. I'd recommend dataframe.
The following patch fixed issues for me. I'd be happy to PR it:
Freyja dash command:
Latest version installed from conda.
At cursory glance, the issue stems from
utils.py
: https://github.com/andersen-lab/Freyja/blob/1b900ae92bbce0e733410fc82d788389b8d29522/freyja/utils.py#L567I think it's because the logic above sometimes has
df_ab_lin
as a dataframe and sometimes as a series. You probably want to standardize on a single type for code sanity below. I'd recommend dataframe.The following patch fixed issues for me. I'd be happy to PR it: