From 4f307900c636095df5b5a6a827d4b1ad8ac435d2 Mon Sep 17 00:00:00 2001 From: Adrian Henle Date: Wed, 10 Nov 2021 15:02:18 -0800 Subject: [PATCH] relax compat --- Project.toml | 32 ++++++++++++++--------------- docs/src/paths.md | 4 +--- pre-commit | 52 ----------------------------------------------- 3 files changed, 17 insertions(+), 71 deletions(-) delete mode 100755 pre-commit diff --git a/Project.toml b/Project.toml index 29e337b06..f75bb82b9 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PorousMaterials" uuid = "68953c7c-a3c7-538e-83d3-73516288599e" authors = ["SimonEnsemble "] -version = "0.3.2" +version = "0.3.3" [deps] CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" @@ -28,21 +28,21 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" Xtals = "ede5f01d-793e-4c47-9885-c447d1f18d6d" [compat] -CSV = "^0.8.0" -DataFrames = "^0.22.1" -FIGlet = "^0.2.1" -FileIO = "1.2.0" -Graphs = "^1.4.1" -JLD2 = "^0.4.9" -OffsetArrays = "0.11.4" -Optim = "0.19.7,1.3.0" -Polynomials = "0.6.0" -ProgressMeter = "1.2.0" -PyCall = "^1.92.3" -Reexport = "^1.1.0" -Roots = "0.8.4" -SpecialFunctions = "0.10.0" -StatsBase = "0.32.0,0.33.8" +CSV = "^0.8" +DataFrames = "^0.22" +FIGlet = "^0.2" +FileIO = "^1.2" +Graphs = "^1.4" +JLD2 = "^0.4" +OffsetArrays = "^1.0" +Optim = "^0.19,^1.3" +Polynomials = "^0.6" +ProgressMeter = "^1.2" +PyCall = "^1.92" +Reexport = "^1.1" +Roots = "^0.8" +SpecialFunctions = "^0.10" +StatsBase = "^0.32,^0.33" Xtals = "^0.3.8" julia = "1.6" diff --git a/docs/src/paths.md b/docs/src/paths.md index 388a30300..af1e1e723 100644 --- a/docs/src/paths.md +++ b/docs/src/paths.md @@ -12,14 +12,12 @@ variable dictionary `rc` is part of the `PorousMaterials` namespace. This is wh ```jldoctest keys(rc) # output -KeySet for a Dict{Symbol, Any} with 7 entries. Keys: +KeySet for a Dict{Symbol, Any} with 5 entries. Keys: :covalent_radii :bonding_rules - :scipy :atomic_masses :cpk_colors :paths - :pymatgen ``` `rc[:paths]` gives a listing of the read/write paths for various kinds of information. By default, `rc[:paths][:data]` will be set to `./data` based on diff --git a/pre-commit b/pre-commit deleted file mode 100755 index bff5d8b7b..000000000 --- a/pre-commit +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh -# -# An example hook script to verify what is about to be committed. -# Called by "git commit" with no arguments. The hook should -# exit with non-zero status after issuing an appropriate message if -# it wants to stop the commit. -# -# To enable this hook, rename this file to "pre-commit". - # - # if git rev-parse --verify HEAD >/dev/null 2>&1 - # then - # against=HEAD - # else - # # Initial commit: diff against an empty tree object - # against=4b825dc642cb6eb9a060e54bf8d69288fbee4904 - # fi - # - # # If you want to allow non-ASCII filenames set this variable to true. - # allownonascii=$(git config --bool hooks.allownonascii) - # - # # Redirect output to stderr. - # exec 1>&2 - # - # # Cross platform projects tend to avoid non-ASCII filenames; prevent - # # them from being added to the repository. We exploit the fact that the - # # printable range starts at the space character and ends with tilde. - # if [ "$allownonascii" != "true" ] && - # # Note that the use of brackets around a tr range is ok here, (it's - # # even required, for portability to Solaris 10's /usr/bin/tr), since - # # the square bracket bytes happen to fall in the designated range. - # test $(git diff --cached --name-only --diff-filter=A -z $against | - # LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 - # then - # cat <<\EOF - # Error: Attempt to add a non-ASCII file name. - # - # This can cause problems if you want to work with people on other platforms. - # - # To be portable it is advisable to rename the file. - # - # If you know what you are doing you can disable this check using: - # - # git config hooks.allownonascii true - # EOF - # exit 1 - # fi - -cd test -julia runtests.jl - - # # If there are whitespace errors, print the offending file names and fail. - # exec git diff-index --check --cached $against --