Skip to content

Commit

Permalink
Merge pull request #83 from nesi/dini-dev
Browse files Browse the repository at this point in the history
change the
  • Loading branch information
DininduSenanayake authored Oct 15, 2024
2 parents 1de8cb4 + 5f4e6ca commit 21ecca7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions submit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ cp 08-snakemake/Snakefile_2 "$working_dir"
#Copy the run_snakefile.sh
cp 08-snakemake/run_snakefile.sh "$working_dir"

#Copy snakemake profile 08-snakemake/profiles to ~/.config/snakemake
mkdir -p ~/.config/snakemake
cp -r 08-snakemake/profiles/nesi ~/.config/snakemake/

# Print completion message
echo -e "\nSwitching to working directory now and running generate_apsim_configs.R to create config files."

Expand Down Expand Up @@ -85,9 +89,7 @@ elif [[ $(hostname) == *mahuika* ]]; then
fi


#Copy snakemake profile 08-snakemake/profiles to ~/.config/snakemake
mkdir -p ~/.config/snakemake
cp -r 08-snakemake/profiles/nesi ~/.config/snakemake/


# Ask if the user wants to submit the APSIM-HPC workflow
echo -n -e "${YELLOW}Would you like to submit the APSIM-HPC workflow to generate .db files? (yes/no) : ${NC}"
Expand Down

0 comments on commit 21ecca7

Please sign in to comment.