Skip to content

Commit

Permalink
enhance tck data (#3042)
Browse files Browse the repository at this point in the history
Co-authored-by: Yichen Wang <18348405+Aiee@users.noreply.github.com>
  • Loading branch information
2 people authored and Sophie-Xie committed Oct 13, 2021
1 parent 394bd78 commit 0473a85
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/nebula-test-run.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,11 @@ def start_nebula(nb, configs):

with open(SPACE_TMP_PATH, "w") as f:
spaces = []
for space in ("nba", "nba_int_vid", "student"):
data_dir = os.path.join(CURR_PATH, "data", space)
folder = os.path.join(CURR_PATH, "data")
for space in os.listdir(folder):
if not os.path.exists(os.path.join(folder, space, "config.yaml")):
continue
data_dir = os.path.join(folder, space)
space_desc = load_csv_data(sess, data_dir, space)
spaces.append(space_desc.__dict__)
f.write(json.dumps(spaces))
Expand Down

0 comments on commit 0473a85

Please sign in to comment.