Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

file_id_db=="e427efe71e8e94de5b3e48eb98236323" fails #124

Open
stemangiola opened this issue Jan 17, 2024 · 2 comments
Open

file_id_db=="e427efe71e8e94de5b3e48eb98236323" fails #124

stemangiola opened this issue Jan 17, 2024 · 2 comments

Comments

@stemangiola
Copy link
Owner

@multimeric This query fails

   get_metadata() |> 
+     filter(file_id_db=="e427efe71e8e94de5b3e48eb98236323") |> get_single_cell_experiment()

ℹ Realising metadata.Synchronising filesDownloading 2 files, totalling 0.06 GBDownloading https://object-store.rc.nectar.org.au/v1/AUTH_06d6e008e3e642da99d806ba3ea629c5/cellxgene-0.2.1-hdf5/original/e427efe71e8e94de5b3e48eb98236323/assays.h5 to /home/users/allstaff/mangiola.s/.cache/R/CuratedAtlasQueryR/0.2.1/original/e427efe71e8e94de5b3e48eb98236323/assays.h5
Error in `pmap_chr()`:In index: 1.
Caused by error in `value[[3L]]()`:
! File
  https://object-store.rc.nectar.org.au/v1/AUTH_06d6e008e3e642da99d806ba3ea629c5/cellxgene-0.2.1-hdf5/original/e427efe71e8e94de5b3e48eb98236323/assays.h5
  could not be downloaded. Error in curl::curl_fetch_disk(url, x$path, handle = handle): Failed writing body (0 != 16384)
@multimeric
Copy link
Collaborator

I suspect your home directory is/was full, I don't believe this is an issue with the package itself. I can't replicate the issue:

> get_metadata() |> 
+     dplyr::filter(file_id_db=="e427efe71e8e94de5b3e48eb98236323") |> get_single_cell_experiment()
ℹ Downloading 1 file, totalling 0.48 GBDownloading https://object-store.rc.nectar.org.au/v1/AUTH_06d6e008e3e642da99d806ba3ea629c5/metadata/metadata.0.2.3.parquet to /home/users/allstaff/milton.m/.cache/R/CuratedAtlasQueryR/metadata.0.2.3.parquet
  |=============================================================================================================================| 100%
ℹ Realising metadata.Synchronising filesDownloading 2 files, totalling 0.06 GBDownloading https://object-store.rc.nectar.org.au/v1/AUTH_06d6e008e3e642da99d806ba3ea629c5/cellxgene-0.2.1-hdf5/original/e427efe71e8e94de5b3e48eb98236323/assays.h5 to /home/users/allstaff/milton.m/.cache/R/CuratedAtlasQueryR/0.2.1/original/e427efe71e8e94de5b3e48eb98236323/assays.h5Downloading https://object-store.rc.nectar.org.au/v1/AUTH_06d6e008e3e642da99d806ba3ea629c5/cellxgene-0.2.1-hdf5/original/e427efe71e8e94de5b3e48eb98236323/se.rds to /home/users/allstaff/milton.m/.cache/R/CuratedAtlasQueryR/0.2.1/original/e427efe71e8e94de5b3e48eb98236323/se.rdsReading files.Compiling Single Cell Experiment.
class: SingleCellExperiment 
dim: 36229 3979 
metadata(0):
assays(1): counts
rownames(36229): A1BG A1BG-AS1 ... ZZEF1 ZZZ3
rowData names(0):
colnames(3979): RU699_227364270922139_1 RU675_N_169174309170077_1 ... RU685_N_205449200090022_1
  RU661_T_236288388295404_1
colData names(56): sample_ cell_type ... updated_at_y original_cell_id
reducedDimNames(0):
mainExpName: NULL
altExpNames(0):

@stemangiola
Copy link
Owner Author

stemangiola commented Jan 18, 2024

Would it be worth intercepting the error message and, adding a message (besides the original one) saying

CuratedAtlasQueryR says: it is possible that this error is due to the disk being full.

This might avoid issue like this opened in the future,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants