-
Notifications
You must be signed in to change notification settings - Fork 94
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
Re-saving gobj with overwrite breaks gobj #870
Labels
bug
Something isn't working
Comments
Hi @jiajic , so I was running this on a slurm cluster in a batch to process several slides of data, and I encountered a problem with the fix. It appears to use a common ==> 42915043_giotto_wkflow_prep_cortex-s23-PS19-V.log <==
For image information: fov009-compartment
For image information: fov010-composite
For image information: fov010-overlay
For image information: fov010-compartment
For image information: fov013-composite
For image information: fov013-overlay
For image information: fov013-compartment
[1] TRUE
TIME
16:42
==> 42915044_giotto_wkflow_prep_cortex-s23-PS19-C31.log <==
For image information: fov035-overlay
For image information: fov035-compartment
[1] TRUE
Warning messages:
1: In dir.create(use_dir, recursive = TRUE) :
'cortex/.giotto_scratch' already exists
2: In dir.create(feat_dir) :
'cortex/.giotto_scratch/Features' already exists
TIME
25:10
==> 42915045_giotto_wkflow_prep_cortex-s23-WT-V.log <==
overwrite folder
1. Start writing feature information
For feature: rna
Error: [writeVector] file exists. Use 'overwrite=TRUE' to overwrite it
In addition: Warning messages:
1: In dir.create(use_dir, recursive = TRUE) :
'cortex/.giotto_scratch' already exists
2: In dir.create(feat_dir) :
'cortex/.giotto_scratch/Features' already exists
Execution halted
==> 42915046_giotto_wkflow_prep_cortex-s23-WT-C31.log <==
overwrite folder
1. Start writing feature information
For feature: rna
Error: [writeVector] file exists. Use 'overwrite=TRUE' to overwrite it
In addition: Warning messages:
1: In dir.create(use_dir, recursive = TRUE) :
'cortex/.giotto_scratch' already exists
2: In dir.create(feat_dir) :
'cortex/.giotto_scratch/Features' already exists
Execution halted
==> 42915047_giotto_wkflow_prep_cortex-s24-PS19-V.log <==
overwrite folder
1. Start writing feature information
For feature: rna
Error: [writeVector] file exists. Use 'overwrite=TRUE' to overwrite it
In addition: Warning messages:
1: In dir.create(use_dir, recursive = TRUE) :
'cortex/.giotto_scratch' already exists
2: In dir.create(feat_dir) :
'cortex/.giotto_scratch/Features' already exists
Execution halted
==> 42915048_giotto_wkflow_prep_cortex-s24-PS19-C31.log <==
overwrite folder
1. Start writing feature information
For feature: rna
Error: [writeVector] file exists. Use 'overwrite=TRUE' to overwrite it
In addition: Warning messages:
1: In dir.create(use_dir, recursive = TRUE) :
'cortex/.giotto_scratch' already exists
2: In dir.create(feat_dir) :
'cortex/.giotto_scratch/Features' already exists
Execution halted
==> 42915049_giotto_wkflow_prep_cortex-s24-WT-V.log <==
For image information: fov015-compartment
For image information: fov018-composite
For image information: fov018-overlay
For image information: fov018-compartment
For image information: fov020-composite
For image information: fov020-overlay
For image information: fov020-compartment
[1] TRUE
TIME
7:49
==> 42915050_giotto_wkflow_prep_cortex-s24-WT-C31.log <==
1. Start writing feature information
For feature: rna
Error: [writeVector] Layer creation failed
In addition: Warning messages:
1: In dir.create(use_dir, recursive = TRUE) :
'cortex/.giotto_scratch' already exists
2: In dir.create(feat_dir) :
'cortex/.giotto_scratch/Features' already exists
3: Failed to create file cortex/.giotto_scratch/Features/rna_feature_spatVector.shp: No such file or directory (GDAL error 1)
Execution halted
==> 42915051_giotto_wkflow_prep_cortex-s25-PS19-V.log <==
'Analytic Pearson residuals for normalization of single-cell RNA-seq UMI data'
Pearson residual normalized data will be returned to the pearson Giotto slot
Folder already exist and overwrite = TRUE,
overwrite folder
1. Start writing feature information
For feature: rna
Error: [writeVector] file exists. Use 'overwrite=TRUE' to overwrite it
Execution halted
==> 42915052_giotto_wkflow_prep_cortex-s25-PS19-C31.log <==
overwrite folder
1. Start writing feature information
For feature: rna
Error: [writeVector] file exists. Use 'overwrite=TRUE' to overwrite it
In addition: Warning messages:
1: In dir.create(use_dir, recursive = TRUE) :
'cortex/.giotto_scratch' already exists
2: In dir.create(feat_dir) :
'cortex/.giotto_scratch/Features' already exists
Execution halted
==> 42915053_giotto_wkflow_prep_cortex-s25-WT-V.log <==
overwrite folder
1. Start writing feature information
For feature: rna
Error: [writeVector] file exists. Use 'overwrite=TRUE' to overwrite it
In addition: Warning messages:
1: In dir.create(use_dir, recursive = TRUE) :
'cortex/.giotto_scratch' already exists
2: In dir.create(feat_dir) :
'cortex/.giotto_scratch/Features' already exists
Execution halted
==> 42915054_giotto_wkflow_prep_cortex-s25-WT-C31.log <==
For image information: fov033-overlay
For image information: fov033-compartment
For image information: fov034-composite
For image information: fov034-overlay
For image information: fov034-compartment
For image information: fov038-composite
For image information: fov038-overlay
For image information: fov038-compartment
For image information: fov039-composite
slurmstepd: error: *** JOB 42915054 ON sgiuv300-srcf-d10-01 CANCELLED AT 2024-04-24T14:22:03 *** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Error
I was trying to update a Giotto object and save it in the same location with
overwrite = TRUE
, but when I try it it appears to break the object by erasing some image related filesWhen I ran it with my data it gave a different, but seemingly related error:
But that file is a bit bigger if you want me to send it to you.
To Reproduce
The easy error can be reproduced with:
System Information
The text was updated successfully, but these errors were encountered: