Skip to content

Commit

Permalink
make sure database folders exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Yujie-W committed Oct 25, 2024
1 parent c866993 commit e3d5df0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/GriddingMachine.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ export Blender, Collector, Fetcher, Indexer, Requestor


# Global variables
# make sure the directory exists
GM_DIR = "$(homedir())/GriddingMachine/";
mkpath("$(GM_DIR)/published");

META_INFO = load_artifacts_toml(joinpath(@__DIR__, "../Artifacts.toml"));
META_TAGS = [keyname for (keyname,_) in META_INFO];
Expand Down

0 comments on commit e3d5df0

Please sign in to comment.