Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert_raw_ngsim: Multiple directories in .julia/packages/NGSIM #13

Open
raunakbh92 opened this issue Mar 21, 2019 · 0 comments
Open

Comments

@raunakbh92
Copy link

To update the NGSIM repo following @djp42 changes, I did the following

julia
    ] update NGSIM

This resulted in a new folder being created in .julia/packages/NGSIM called 90YUa. I did not delete the old folder called B54UX.

Now, when I go for convert_raw_trajectories using the following

julia
   using NGSIM
   convert_raw_ngsim_to_trajdatas()

I get the error:

julia> convert_raw_ngsim_to_trajdatas()
converting i101_trajectories-0750am-0805am.txt
loading from file: ERROR: AssertionError: isfile(input_path)
Stacktrace:
 [1] NGSIMTrajdata(::String) at /home/raunak/.julia/packages/NGSIM/9OYUa/src/ngsim_trajdata.jl:32
 [2] #load_ngsim_trajdata#35(::Bool, ::Function, ::String) at /home/raunak/.julia/packages/NGSIM/9OYUa/src/trajdata.jl:146
 [3] load_ngsim_trajdata at /home/raunak/.julia/packages/NGSIM/9OYUa/src/trajdata.jl:145 [inlined]
 [4] convert_raw_ngsim_to_trajdatas() at /home/raunak/.julia/packages/NGSIM/9OYUa/src/trajdata.jl:200
 [5] top-level scope at none:0

The reason is

julia> joinpath(@__DIR__, "../data/i101_trajectories-0750am-0805am.txt")
"/home/raunak/.julia/packages/NGSIM/B45UX/data/../data/i101_trajectories-0750am-0805am.txt"

The problem is it still looks in the old B45UX folder. I know that manually deleting the old folder is a solution but wanted to check if there's a better one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant