From f1cc4271dc14894c88ef6aa488d8bf6c3662438d Mon Sep 17 00:00:00 2001 From: Mohamed Barakat Date: Fri, 16 Jul 2021 10:12:47 +0200 Subject: [PATCH 1/2] renamed CAP_AND_HOMALG_SHOW_BANNER -> CAP_AND_HOMALG_PRINT_BANNER to follow common convention --- bin/gap-with-cap-and-homalg-via-julia | 2 +- src/CapAndHomalg.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/gap-with-cap-and-homalg-via-julia b/bin/gap-with-cap-and-homalg-via-julia index 40bc747..f378071 100755 --- a/bin/gap-with-cap-and-homalg-via-julia +++ b/bin/gap-with-cap-and-homalg-via-julia @@ -9,7 +9,7 @@ exec julia --startup-file=no -- "${BASH_SOURCE[0]}" "$@" =# # pass command line arguments to GAP.jl via a small hack -ENV["GAP_SHOW_BANNER"] = "true" +ENV["GAP_PRINT_BANNER"] = "true" __GAP_ARGS__ = ARGS using CapAndHomalg SizeScreen(SIZE_SCREEN_ORIGINAL) diff --git a/src/CapAndHomalg.jl b/src/CapAndHomalg.jl index 27191da..a469418 100644 --- a/src/CapAndHomalg.jl +++ b/src/CapAndHomalg.jl @@ -198,8 +198,8 @@ function __init__() UseSystemSingular(false) - if haskey(ENV, "CAP_AND_HOMALG_SHOW_BANNER") - show_banner = ENV["CAP_AND_HOMALG_SHOW_BANNER"] == "true" + if haskey(ENV, "CAP_AND_HOMALG_PRINT_BANNER") + show_banner = ENV["CAP_AND_HOMALG_PRINT_BANNER"] == "true" else show_banner = isinteractive() && !any(x -> x.name in ["Oscar", "HomalgProject"], keys(Base.package_locks)) From 4c71f300d21fa2de8508c8463fc727457a0da12b Mon Sep 17 00:00:00 2001 From: Mohamed Barakat Date: Fri, 16 Jul 2021 14:17:24 +0200 Subject: [PATCH 2/2] Adjust to https://github.com/homalg-project/CAP_project/pull/678 --- Project.toml | 2 +- docs/src/examples.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 6b8aacb..a3632c9 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "CapAndHomalg" uuid = "c4774649-1891-41ea-a883-87141804c57c" authors = ["Mohamed Barakat "] -version = "1.1.6" +version = "1.1.7" [deps] GAP = "c863536a-3901-11e9-33e7-d5cd0df7b904" diff --git a/docs/src/examples.md b/docs/src/examples.md index d7d8b88..f544904 100644 --- a/docs/src/examples.md +++ b/docs/src/examples.md @@ -270,7 +270,7 @@ julia> Sgrmod = GradedLeftPresentations( S ) GAP: The category of graded left f.p. modules over Q[x,y] (with weights [ 1, 1 ]) julia> InfoOfInstalledOperationsOfCategory( Sgrmod ) -40 primitive operations were used to derive 179 operations for this category which +40 primitive operations were used to derive 172 operations for this category which * IsAbCategory * IsMonoidalCategory * IsAbelianCategoryWithEnoughProjectives