Skip to content

Commit

Permalink
viewer updated to handle old output from sparcur.simple.utils
Browse files Browse the repository at this point in the history
  • Loading branch information
tgbugs committed Jun 27, 2024
1 parent f0b7223 commit 4b58656
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sparcur_internal/sparcur/viewer.rkt
Original file line number Diff line number Diff line change
@@ -1335,7 +1335,12 @@ note of course that you don't get dynamic binding with version since it is not t
(with-output-to-string (λ () (set! status (apply py-system* argv)))))]
[string-port (open-input-string result-string)]
[result (read string-port)]
[projects (read string-port)])
[-projects (read string-port)]
[projects (if (eq? eof -projects)
(begin
(displayln "detected old output format from argv-simple-for-racket, please retangle sparcur.simple from dev notes")
'())
-projects)])
(unless status
(error "Failed to get dataset list! ~a" (string-join argv-simple-for-racket " ")))
(list result projects)))

0 comments on commit 4b58656

Please sign in to comment.