Skip to content

Commit

Permalink
Change in data path of Na example.
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuellujan committed Jun 5, 2024
1 parent 0f7c9e6 commit 0582f0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/Na/fit-dpp-ace-na.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ using AtomsBase, InteratomicPotentials, PotentialLearning
using LinearAlgebra, CairoMakie

# Load dataset
confs, thermo = load_data("data/liquify_sodium.yaml", YAML(:Na, u"eV", u""))
data_path = joinpath(dirname(pathof(PotentialLearning)), "../examples/Na/data")
confs, thermo = load_data("$data_path/liquify_sodium.yaml", YAML(:Na, u"eV", u""))
confs, thermo = confs[220:end], thermo[220:end]

# Split dataset
Expand Down

0 comments on commit 0582f0d

Please sign in to comment.