Skip to content

CurricularVisualization Error  #139

@dmitri-labelle

Description

@dmitri-labelle

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions