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
Overview
I want to retrieve a collection of networks from Mangal using network ID's, for this I am using mangalnetwork(). For certain ID values the function behaves as expected but for others it throws the following error: BoundsError: attempt to access 0-element Vector{MangalNetwork} at index [1]. As far as I can tell the IDs that it is throwing an error for should be valid since these are IDs used from a list of networks extracted using Mangal.datasets()
Software versions
Julia Version 1.10.0
SpeciesInteractionNetwroks Version 0.0.1 (imported using import https://github.com/PoisotLab/SpeciesInteractionNetworks.jl
MacOS 14.3.1
Example
# works as expected
mangalnetwork(15)
# throws an error
mangalnetwork(2)
The text was updated successfully, but these errors were encountered:
I fear I may have been being an idiot sandwich and the error is user based. I think using the Mangal.datasets is what was the issue - using Mangal.networks seems to work...
Overview
I want to retrieve a collection of networks from Mangal using network ID's, for this I am using
mangalnetwork()
. For certain ID values the function behaves as expected but for others it throws the following error:BoundsError: attempt to access 0-element Vector{MangalNetwork} at index [1]
. As far as I can tell the IDs that it is throwing an error for should be valid since these are IDs used from a list of networks extracted usingMangal.datasets()
Software versions
import https://github.com/PoisotLab/SpeciesInteractionNetworks.jl
Example
The text was updated successfully, but these errors were encountered: