Skip to content

Commit

Permalink
fixed shuffle seed
Browse files Browse the repository at this point in the history
  • Loading branch information
farchaab committed Oct 29, 2024
1 parent 65d0e9a commit a519200
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mess/workflow/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ else:


# reads post-processsing options
random.seed(SEED)
SHUFFLE = dict(zip(SAMPLES, random.sample(range(1, 100000), len(SAMPLES))))
SKIP_SHUFFLE = config.args.skip_shuffle
RANKS = config.args.ranks
Expand Down
1 change: 1 addition & 0 deletions mess/workflow/simulate.smk
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ else:


# reads post-processsing options
random.seed(SEED)
SHUFFLE = dict(zip(SAMPLES, random.sample(range(1, 100000), len(SAMPLES))))
SKIP_SHUFFLE = config.args.skip_shuffle
RANKS = config.args.ranks
Expand Down

0 comments on commit a519200

Please sign in to comment.