bug in utils.py?
This error was also reported by others that use the SCENIC package.
I thought it might be good to raise this issue also here.
I'm not familiar with all the ins and outs of this, but using SCENIC, loompy raised the following error, which I think might be a bug:
```
File "/home/USERNAME/anaconda3/envs/pyscenic_202404/lib/python3.10/site-packages/loompy/utils.py", line 27, in compare_loom_spec_version
vf = int("".join(get_loom_spec_version(f).split(".")))
AttributeError: 'numpy.ndarray' object has no attribute 'split'
```
See also: https://github.com/aertslab/pySCENIC/issues/112
The suggested edit there did fix my issue. That edit was:
> Editing the built-in script /path/to/loompy/utils.py by replacing the line 27 with the following code,
```vf = int("".join(get_loom_spec_version(f)[0].split(".")))```
> help me solve this issue.
Cheers
关闭于 2024-11-13 1 条评论