Skip to content

Commit ba0eb30

Browse files
committed
residual juliaformatting
1 parent 4f12941 commit ba0eb30

3 files changed

Lines changed: 13 additions & 9 deletions

File tree

docs/make.jl

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
using Documenter, DistributedData
22

3-
makedocs(modules = [DistributedData],
3+
makedocs(
4+
modules = [DistributedData],
45
clean = false,
5-
format = Documenter.HTML(prettyurls = !("local" in ARGS),
6-
canonical = "https://lcsb-biocore.github.io/DistributedData.jl/stable/",
7-
assets = ["assets/logo.ico"]),
6+
format = Documenter.HTML(
7+
prettyurls = !("local" in ARGS),
8+
canonical = "https://lcsb-biocore.github.io/DistributedData.jl/stable/",
9+
assets = ["assets/logo.ico"],
10+
),
811
sitename = "DistributedData.jl",
912
authors = "The developers of DistributedData.jl",
1013
linkcheck = !("skiplinks" in ARGS),
@@ -20,5 +23,5 @@ deploydocs(
2023
target = "build",
2124
branch = "gh-pages",
2225
devbranch = "develop",
23-
push_preview = true
26+
push_preview = true,
2427
)

docs/slurm-example/run-analysis.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
using Distributed, ClusterManagers, DistributedData
1+
using Distributed, ClusterManagers, DistributedData
22

33
# read the number of available workers from environment and start the worker processes
4-
n_workers = parse(Int , ENV["SLURM_NTASKS"])
5-
addprocs_slurm(n_workers , topology =:master_worker)
4+
n_workers = parse(Int, ENV["SLURM_NTASKS"])
5+
addprocs_slurm(n_workers, topology = :master_worker)
66

77
# load the required packages on all workers
88
@everywhere using DistributedData
99

1010
# generate a random dataset on all workers
11-
dataset = dtransform((), _ -> randn(10000,10000), workers(), :myData)
11+
dataset = dtransform((), _ -> randn(10000, 10000), workers(), :myData)
1212

1313
# for demonstration, sum the whole dataset
1414
totalResult = dmapreduce(dataset, sum, +)

src/base.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
"""
23
save_at(worker, sym, val)
34

0 commit comments

Comments
 (0)