Skip to content

Commit

Permalink
adjust generate-settings
Browse files Browse the repository at this point in the history
  • Loading branch information
igordot committed Dec 6, 2021
1 parent 52eb45e commit 0f0876c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions generate-settings
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ sub main {
# settings file
my $settings_file = "settings.txt";

# check if the settings file already exists
if ( -e $settings_file ) {
die "\n\n ERROR: FILE $settings_file ALREADY EXISTS (DELETE IT TO GENERATE A NEW ONE) \n\n";
}

# set genome setting
my $genome_dir_setting;
if ($genome_arg =~ m/\//) {
Expand Down

0 comments on commit 0f0876c

Please sign in to comment.