Skip to content

Commit

Permalink
Merge pull request #310 from chrovis/feature/update-deps
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
alumi authored May 13, 2024
2 parents 1dd64cd + e410311 commit e170871
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: '11'
java-version: '21'
distribution: 'temurin'
architecture: x64
- name: Cache m2 repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '8', '11', '17', '20']
java: [ '8', '11', '17', '21']
name: Java ${{ matrix.java }}
steps:
- uses: actions/checkout@v4
Expand Down
26 changes: 13 additions & 13 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@
:url "https://github.com/chrovis/cljam"
:license {:name "Apache License, Version 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/core.memoize "1.0.257"]
[org.clojure/tools.logging "1.2.4"]
[org.clojure/tools.cli "1.0.214"]
[org.apache.commons/commons-compress "1.23.0"]
:dependencies [[org.clojure/core.memoize "1.1.266"]
[org.clojure/tools.logging "1.3.0"]
[org.clojure/tools.cli "1.1.230"]
[org.apache.commons/commons-compress "1.26.1"]
[clj-sub-command "0.6.0"]
[digest "1.4.10"]
[bgzf4j "0.1.2"]
[com.climate/claypoole "1.1.4"]
[camel-snake-kebab "0.4.3"]
[proton "0.2.2"]]
:profiles {:dev {:dependencies [[org.clojure/clojure "1.11.1"]
[proton "0.2.3"]]
:profiles {:dev {:dependencies [[org.clojure/clojure "1.11.3"]
[cavia "0.5.1"]
[criterium "0.4.6"]
[net.totakke/libra "0.1.1"]
[se.haleby/stub-http "0.2.14"]]
:plugins [[lein-binplus "0.6.6" :exclusions [org.clojure/clojure]]
[lein-codox "0.10.7"]
[lein-marginalia "0.9.1" :exclusions [org.clojure/clojure]]
[lein-cloverage "1.1.2"]
:plugins [[lein-binplus "0.6.8" :exclusions [org.clojure/clojure]]
[lein-codox "0.10.8"]
[lein-marginalia "0.9.2" :exclusions [org.clojure/clojure]]
[lein-cloverage "1.2.4"]
[net.totakke/lein-libra "0.1.2"]
[lein-cljfmt "0.9.2"]]
:test-selectors {:default #(not-any? % [:slow :remote])
Expand All @@ -35,9 +35,9 @@
:1.8 {:dependencies [[org.clojure/clojure "1.8.0"]]}
:1.9 {:dependencies [[org.clojure/clojure "1.9.0"]]}
:1.10 {:dependencies [[org.clojure/clojure "1.10.3"]]}
:uberjar {:dependencies [[org.clojure/clojure "1.11.1"]
[org.apache.logging.log4j/log4j-api "2.20.0"]
[org.apache.logging.log4j/log4j-core "2.20.0"]]
:uberjar {:dependencies [[org.clojure/clojure "1.11.3"]
[org.apache.logging.log4j/log4j-api "2.23.1"]
[org.apache.logging.log4j/log4j-core "2.23.1"]]
:resource-paths ["bin-resources"]
:main cljam.tools.main
:jvm-opts ["-Dclojure.compiler.direct-linking=true"]
Expand Down
6 changes: 3 additions & 3 deletions src/cljam/io/wig.clj
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@
(let [type' (->> fields rest fields->map :type)]
(if (= type' "wiggle_0")
(deserialize (rest lines) pre-start {:line line})
(throw "The track type with version must be `wiggle_0`")))
(throw (ex-info "The track type with version must be `wiggle_0`" {}))))

; declaration line of variableStep
"variableStep"
(let [{:keys [chrom span]
:or {span 1}} (->> fields rest fields->map)
:or {span "1"}} (->> fields rest fields->map)
span (as-long span)
track (assoc track :format :variable-step
:chr chrom
Expand All @@ -105,7 +105,7 @@
; declaration line of fixedStep
"fixedStep"
(let [{:keys [chrom start span step]
:or {span 1, step 1}} (->> fields rest fields->map)
:or {span "1", step "1"}} (->> fields rest fields->map)
step (long (as-long step))
pre-start (- (long (as-long start)) step)
span (as-long span)
Expand Down

0 comments on commit e170871

Please sign in to comment.