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
Describe the bug
In part 6 of the circadian rhythm analysis g.report.part6.R, if the first file f0 does not pass the circadian rhythm analysis QC, then the corresponding f0_T5A5.RData file in meta/ms6.out will not contain any circadian rhythm analysis results. However, if the next file f0+1 successfully generates circadian rhythm analysis results, the following code:
Desktop (please complete the following information):
OS: [a custom ubuntu docker container]
GGIR Version [3.1.7]
Additional context
Here's my temporary fix
replace
out_try = myfun(fnames.ms6[f0])
with
all_files <- fnames.ms6[f0:f1]
file_info <- file.info(all_files)
file_sizes <- file_info$size
# Find the file with the largest size. Since the .RData files in ms6.out are processed, the largest file is likely to have the most column names.
largest_file <- all_files[which.max(file_sizes)]
# Extract column names from this file
out_try <- myfun(largest_file)
Before submitting
[X ] Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?
[X ] Have you tried this on the latest master branch from GitHub?
The text was updated successfully, but these errors were encountered:
j262byuu
changed the title
rbind fails in g.report.part6.R when f0 does not contain circadian rhythm results
rbind fails in g.report.part6.R when f0 does not pass circadian rhythm QC
Dec 9, 2024
Describe the bug
In part 6 of the circadian rhythm analysis
g.report.part6.R
, if the first filef0
does not pass the circadian rhythm analysis QC, then the correspondingf0_T5A5.RData
file inmeta/ms6.out
will not contain any circadian rhythm analysis results. However, if the next filef0+1
successfully generates circadian rhythm analysis results, the following code:in
g.report.part6.R
will fail since the base filef0_T5A5.RData
only had 7 columns butf0+1_T5A5.RData
has a larger number of columns.To Reproduce
If necessary, I can find a way to upload the raw data (apologies, it's quite large)
Screenshots
Error
f0
meta/ms6.out/f0_T5A5.RData
:output_part6f0+1
meta/ms6.out/f0+1_T5A5.RData
:output_part6Desktop (please complete the following information):
Additional context
Here's my temporary fix
replace
with
Before submitting
master
branch from GitHub?The text was updated successfully, but these errors were encountered: