Main answer
Slurp will return the file contents as a text string, but your code seems to assume that this file has already been parsed into an array of numbers. That is not the case. You can still use slurp but you will have to parse the file yourself. You can parse it by first splitting the file string by line separator using split-lines. Each line is valid Clojure syntax for a vector if we surround it by square brackets, and if we do so, we can then parse it into a vector using edn/read-string. We use map to parse each line of the file. The following code will do the job, and uses the ->> macro to keep the code readable:
(require '[clojure.string :as cljstr])
(require '[clojure.edn :as edn])
(->> "/tmp/mydata.txt"
slurp
cljstr/split-lines
(map #(zipmap
[:num1 :num2 :num3 :num4 :num5 :num6 :num7]
(edn/read-string (str "[" % "]")))))
;; => ({:num1 1, :num2 23, :num3 25, :num4 -9, :num5 0, :num6 1, :num7 1} {:num1 2, :num2 23, :num3 25, :num4 10, :num5 1, :num6 2, :num7 3})
Extensions/variations
In case there are lines with other number of elements, you may want to keep only those with seven elements, using filter. Mapping and filtering can be composed into a transducer that we pass as argument to into:
(let [columns [:num1 :num2 :num3 :num4 :num5 :num6 :num7]
n (count columns)]
(->> "/tmp/mydata.txt"
slurp
cljstr/split-lines
(into [] (comp (map #(zipmap
columns
(edn/read-string (str "[" % "]"))))
(filter #(= n (count %)))))))
;; => [{:num1 1, :num2 23, :num3 25, :num4 -9, :num5 0, :num6 1, :num7 1} {:num1 2, :num2 23, :num3 25, :num4 10, :num5 1, :num6 2, :num7 3}]
If you expect to parse more complicated files or really wanted to kill/overengineer it, you could use spec:
(require '[clojure.spec.alpha :as spec])
(->> "/tmp/mydata.txt"
slurp
cljstr/split-lines
(map #(edn/read-string (str "[" % "]")))
(spec/conform (spec/coll-of (spec/cat :num1 number?
:num2 number?
:num3 number?
:num4 number?
:num5 number?
:num6 number?
:num7 number?))))
;; => ({:num1 1, :num2 23, :num3 25, :num4 -9, :num5 0, :num6 1, :num7 1} {:num1 2, :num2 23, :num3 25, :num4 10, :num5 1, :num6 2, :num7 3})