From 469c08c0d4d337dc0e5636f7d91ab1935db3b032 Mon Sep 17 00:00:00 2001 From: rhaag <rhaag@ds.mpg.de> Date: Mon, 29 Nov 2021 15:12:02 +0100 Subject: [PATCH] Now working with the RidePooling package installed --- initialize.jl | 2 +- sim.jl | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/initialize.jl b/initialize.jl index 4e41a7d..ecc52be 100644 --- a/initialize.jl +++ b/initialize.jl @@ -1,7 +1,7 @@ export data_functions, save_path, getValues import Pkg Pkg.activate(".") -include("../RidePooling/src/RidePooling.jl") #How can I use using instead +import RidePooling #How can I use using instead RP = RidePooling using DataFrames using DelimitedFiles diff --git a/sim.jl b/sim.jl index 0f31812..ead35fe 100644 --- a/sim.jl +++ b/sim.jl @@ -2,8 +2,7 @@ using Pkg Pkg.activate(".") Pkg.instantiate() #there may be an error here concerning PyCall. The dependencies assume Python to be installed on your system, with package 'matplotlib' installed. #Either just run 'conda install -c conda-forge matplotlib' in your system shell, or follow instructions below (after running this cell and getting an error) to solve everything from within Julia. - -include("../RidePooling/src/RidePooling.jl") #How can I use using instead +import RidePooling RP = RidePooling using DataFrames using CSV -- GitLab