Skip to content

Commit a9ca816

Browse files
committed
automated commit by vosslab linux
1 parent 9bbb463 commit a9ca816

File tree

9 files changed

+16
-7
lines changed

9 files changed

+16
-7
lines changed

code/core/acc_new.R

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ main <- function() {
2424
ProjectDir <- opt$project_dir
2525
ProjectDerivDir <- opt$deriv_dir
2626

27+
# Ensure leading slash for deriv_dir
28+
if (!grepl("^/", ProjectDerivDir)) {
29+
ProjectDerivDir <- paste0("/", ProjectDerivDir)
30+
}
31+
if (!grepl("/$", ProjectDerivDir)) {
32+
ProjectDerivDir <- paste0(ProjectDerivDir, "/")
33+
}
2734
# Print values to verify
2835
print(paste("Project Directory:", ProjectDir))
2936
print(paste("Derivatives Directory:", ProjectDerivDir))

code/core/gg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def __init__(self, matched, intdir, obsdir):
1717
self.matched = matched
1818
self.INTDIR = intdir.rstrip('/') + '/'
1919
self.OBSDIR = obsdir.rstrip('/') + '/'
20-
self.DERIVATIVES = "/derivatives/GGIR-3.2.6-test" # Defined within the class
20+
self.DERIVATIVES = "derivatives/GGIR-3.2.6-test" # Defined within the class
2121

2222
def run_gg(self):
2323
"""

code/logs/log.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81001,3 +81001,5 @@ Directory specified by argument outputdir does not exist
8100181001
GGIR completed successfully for /mnt/nfs/lss/vosslabhpc/Projects/BOOST/ObservationalStudy/3-experiment/data/act-obs-test/.
8100281002
Starting QC pipeline for obs project.
8100381003
Unexpected error when processing /mnt/nfs/lss/vosslabhpc/Projects/BOOST/ObservationalStudy/3-experiment/data/act-obs-test/: cannot access local variable 'sub' where it is not associated with a value
81004+
[main 9bbb463] automated commit by vosslab linux
81005+
7 files changed, 6206 insertions(+), 6 deletions(-)

code/plots/group/avg_plot_all.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

code/plots/group/avg_plot_ses-1.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

code/plots/group/avg_plot_ses-2.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

code/plots/group/avg_plot_ses-3.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

code/plots/group/avg_plot_ses-4.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

code/plots/group/avg_plot_ses-5.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)