Closed nleroy917 closed 1 year ago
Maybe this can be two things:
Option 1:
>>> projects = db.get_projects("geo")
>>> projects
>>> ['GSE123456', 'GSE987654', ... ]
Option 2:
>>> projects = db.get_projects("geo", names_only=False)
>>> projects
>>> [
'GSE12345': peppy.Project( ... ),
'GSE98765': peppy.Project( ... )
]
Added!
It would be nice to be able to pass a
namespace
parameter to theget_projects
method ofPepAgent
. This way I don't have to manually filter out namespaces that are not relevant when pulling them down and it saves on network latency.Something like this: