whats2000 commited on
Commit
cbe0341
·
1 Parent(s): 19a6596

feat(slurm): create logs directory and add to gitignore

Browse files
Files changed (2) hide show
  1. .gitignore +1 -0
  2. run_eda_slurm.sh +3 -0
.gitignore CHANGED
@@ -8,3 +8,4 @@ output/eda/*.json
8
  output/eda/*.txt
9
  output/temp/
10
  output/*csv
 
 
8
  output/eda/*.txt
9
  output/temp/
10
  output/*csv
11
+ logs/
run_eda_slurm.sh CHANGED
@@ -28,6 +28,9 @@ echo "========================================="
28
 
29
  cd /project/GOV108018/whats2000_work/cell_x_gene_visualization
30
 
 
 
 
31
  # Build metadata cache (only first job, unless SKIP_CACHE_BUILD=1)
32
  if [ ${SKIP_CACHE_BUILD} -eq 0 ] && [ ${SHARD_INDEX} -eq 0 ]; then
33
  echo "Building metadata cache..."
 
28
 
29
  cd /project/GOV108018/whats2000_work/cell_x_gene_visualization
30
 
31
+ # Create logs directory if it doesn't exist
32
+ mkdir -p logs
33
+
34
  # Build metadata cache (only first job, unless SKIP_CACHE_BUILD=1)
35
  if [ ${SKIP_CACHE_BUILD} -eq 0 ] && [ ${SHARD_INDEX} -eq 0 ]; then
36
  echo "Building metadata cache..."