Skip to content

Commit

Permalink
move check for file existence to the shell code
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Burhans committed Sep 26, 2024
1 parent 56fbde1 commit fa57643
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/ncbi_fcs_gx/ncbi_fcs_gx.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ GX_NUM_CORES=\${GALAXY_SLOTS:-2}
## skip checksumming the database if the db_state_file exists
#import os
#set db_state_file = os.path.join($mode.config_tag.fields.node_cache_dir, "sync-files-completed.txt")
#if not os.path.exists($db_state_file)
if [ ! -e '$db_state_file' ]; then
## copy data to local storage
mkdir -p '$mode.config_tag.fields.node_cache_dir' &&
sync_files.py get --mft '$manifest_pathname' --dir '$mode.config_tag.fields.node_cache_dir' > /dev/null 2>&1 &&
touch '$db_state_file' &&
#end if
fi
## run gx
run_gx.py
#if $mode.config_tag.fields.phone_home == "1"
Expand Down

0 comments on commit fa57643

Please sign in to comment.