Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Fixed group
Browse files Browse the repository at this point in the history
Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu>
  • Loading branch information
David P. Chassin committed Jul 28, 2023
1 parent 055a545 commit 697ca7e
Show file tree
Hide file tree
Showing 4 changed files with 1,289 additions and 7 deletions.
16 changes: 16 additions & 0 deletions tools/autotest/test_group.glm
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#ifexist ../test_group_network_opt.glm
#define DIR=..
#endif

#include "${DIR:-.}/test_group_network_opt.glm"
#include "${DIR:-.}/test_group_assets_opt.glm"

#resolve now
#write test_group.json

#python -m group -i=test_group.json --modify --force -o=test_group_modify_opt.glm
#include "test_group_modify_opt.glm"

#ifexist ../test_group_modify_opt.glm
#on_exit 0 diff -I '^[#/].*' ../test_group_modify_opt.glm test_group_modify_opt.glm > gridlabd.diff
#endif
4 changes: 3 additions & 1 deletion tools/autotest/test_group_assets_opt.glm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ object weather
name "example";
}

#include "./pole_configuration.glm"
#library get pole_configuration.glm
#include "${GLD_ETC}/library/${country}/${region}/${organization}/pole_configuration.glm"

object pole
{
name "pole_node_6101";
Expand Down
Loading

0 comments on commit 697ca7e

Please sign in to comment.