瀏覽代碼

[Fix Bug] filepath cannot match oss/s3/minio link.

tags/v0.1.1
YJC 3 年之前
父節點
當前提交
b8276599d5
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      project.clj
  2. +1
    -1
      src/tservice/plugins/merge_rnaseq_expression.clj

+ 1
- 1
project.clj 查看文件

@@ -13,7 +13,7 @@
{:provided
{:dependencies
[[org.clojure/clojure "1.10.1"]
[org.clojars.yjcyxky/tservice "0.5.6"]]}
[org.clojars.yjcyxky/tservice "0.5.8"]]}

:uberjar
{:auto-clean true

+ 1
- 1
src/tservice/plugins/merge_rnaseq_expression.clj 查看文件

@@ -35,7 +35,7 @@

(s/def ::filepath
(st/spec
{:spec (s/and string? #(some? (re-matches #"^[a-zA-Z0-9]+:\/\/(\/|\.\/)[a-zA-Z0-9_]+.*" %)))
{:spec (s/and string? #(some? (re-matches #"^[a-zA-Z0-9]+:\/\/(\/|\.\/)?[a-zA-Z0-9_]+.*" %)))
:type :string
:description "File path for covertor."
:swagger/default nil

Loading…
取消
儲存