You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pp.pad_seqs_sdata(sdata, length=1000,seq_var="hg38")
Run the above line and I got this error: ---> [97] padded_seqs = sp.pad_seqs(seqs=sdata["seq"].values, pad=pad, pad_value=pad_value, length=length) [98] sdata[f"{seq_var}_padded"] = xr.DataArray(padded_seqs, dims=["_sequence", "length"]) --> [185] raise KeyError(key) KeyError: 'seq' https://github.com/ML4GLand/EUGENe/blob/13db749d9a639d8baf0a92f536b6dcca02e9c838/eugene/preprocess/_seqdata.py#L97C101-L97C101
Does it mean seq_var of the sdata have to be ”seq“
The text was updated successfully, but these errors were encountered:
pp.pad_seqs_sdata(sdata, length=1000,seq_var="hg38")
Run the above line and I got this error:
---> [97] padded_seqs = sp.pad_seqs(seqs=sdata["seq"].values, pad=pad, pad_value=pad_value, length=length)
[98] sdata[f"{seq_var}_padded"] = xr.DataArray(padded_seqs, dims=["_sequence", "length"])
--> [185] raise KeyError(key)
KeyError: 'seq'
https://github.com/ML4GLand/EUGENe/blob/13db749d9a639d8baf0a92f536b6dcca02e9c838/eugene/preprocess/_seqdata.py#L97C101-L97C101
Does it mean seq_var of the sdata have to be ”seq“
The text was updated successfully, but these errors were encountered: