Skip to content

Commit

Permalink
update print message and julia version
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierlabayle committed Feb 11, 2025
1 parent a5887be commit 3f4e706
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "TMLE"
uuid = "8afdd2fb-6e73-43df-8b62-b1650cd9c8cf"
authors = ["Olivier Labayle"]
version = "0.17.1"
version = "0.17.2"

[deps]
AbstractDifferentiation = "c29ec348-61ec-40c8-8164-b8c60e9d9f3d"
Expand Down
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ plot(β̂s_confounded, β̂s_unconfounded, tmles_confounded, tmles_unconfounded,
```
## Installation

TMLE.jl can be installed via the Package Manager and supports Julia `v1.6` and greater.
TMLE.jl can be installed via the Package Manager and supports Julia `v1.10` and greater.

```Pkg
Pkg> add TMLE
Expand Down
8 changes: 4 additions & 4 deletions src/counterfactual_mean_based/estimands.jl
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ nuisance_functions_iterator(Ψ::StatisticalCMCompositeEstimand) =

function Base.show(io::IO, ::MIME"text/plain", Ψ::T) where T <: StatisticalCMCompositeEstimand
param_string = string(
Base.typename(T).wrapper,
"\n-----",
"\nOutcome: ", Ψ.outcome,
"\nTreatment: ", Ψ.treatment_values
replace(string(Base.typename(T).wrapper), "TMLE." => ""),
"\n- Outcome: ", Ψ.outcome,
"\n- Treatment: ",
join((string(key, " => ", val) for (key, val) in Ψ.treatment_values), " & ")
)
println(io, param_string)
end
Expand Down

0 comments on commit 3f4e706

Please sign in to comment.