CurricularAnalytics / CurricularAnalytics.jl

CurricularAnalytics.jl is a toolbox for studying and analyzing academic program curricula.
GNU Affero General Public License v3.0
23 stars 19 forks source link

CurricularVisualization Error #139

Open dmitri-labelle opened 1 year ago

dmitri-labelle commented 1 year ago

Working on Julia 1.8, below is the sample code I'm using and the error.

using CurricularAnalytics
using CurricularVisualization
Phys113 = Course("Contemporary Physics I", 5, prefix="Phys", num="113" )
Phys114 = Course("Contemporary Physics II", 5, prefix="Phys", num="114" )
Phys115 = Course("Contemporary Physics III", 5, prefix="Phys", num="115" )

Math121 = Course("Calc I", 4, prefix="Math", num="121" )
Math122 = Course("Calc II", 4, prefix="Math", num="122" )

coursepre = [Phys113,Phys114, Math122]

for i in 1:length(coursepre)
    add_requisite!(coursepre[i], Phys115, pre)
end

courses = [Phys113,Phys114,Phys115, Math121,Math122]

curric = Curriculum("Physics", courses, institution="Drexel");
visualize(curric)

I get the following error and then whatever I'm running Julia on (I've tried this in Jupyter and in terminal) stalls out.

WARNING: both IOExtras and Base export "closewrite"; uses of it in module ConnectionPool must be qualified
WARNING: both IOExtras and Base export "closewrite"; uses of it in module Servers must be qualified

Below are some of my package versions if that's helpful:

Pkg.status("CurricularVisualization")
Status `~/.julia/environments/v1.8/Project.toml`
  [fbaee398] CurricularVisualization v0.1.4
Pkg.status("WebIO")
Status `~/.julia/environments/v1.8/Project.toml`
  [0f1e0344] WebIO v0.8.20