Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error in the getMetadata function (BFC issue?) #22

Closed
shbrief opened this issue Mar 26, 2024 · 2 comments
Closed

Error in the getMetadata function (BFC issue?) #22

shbrief opened this issue Mar 26, 2024 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@shbrief
Copy link
Owner

shbrief commented Mar 26, 2024

Multiple BFC? I got the error which seems to come from this line:

if(bfcneedsupdate(bfc, rid)) {

Error:

> cmd <- getMetadata("cMD")
Error in if (bfcneedsupdate(bfc, rid)) { : the condition has length > 1

Possible issue:

> rname <- "https://storage.googleapis.com/omics_ml_repo/cMD_curated_metadata_release.csv"
> bfc <- s2p_get_cache()
> bfcres <- bfcquery(bfc, rname, 'rname')
> rid <- bfcres$rid
>
> bfc
class: BiocFileCache
bfccache: /mnt/STORE1/bighome/sehyun/.cache/R/OmicsMLRepo
bfccount: 5
For more information see: bfcinfo() or bfcquery()
> bfcneedsupdate(bfc, rid)
 BFC1  BFC2  BFC4  BFC6  BFC8 
 TRUE FALSE FALSE FALSE FALSE 
@shbrief
Copy link
Owner Author

shbrief commented Mar 26, 2024

@seandavi Hi Sean, this function (getMetadata()) is based on the GenomicSuperSignature::getModel() you wrote. I encounter an error and wonder whether you can take a look at it. Thanks!

@shbrief shbrief added the help wanted Extra attention is needed label Jun 22, 2024
@shbrief
Copy link
Owner Author

shbrief commented Jul 22, 2024

Merged to #26

@shbrief shbrief closed this as completed Jul 22, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant