Skip to content

Commit

Permalink
fix incorrect path formation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishad-M-I-M committed Aug 26, 2023
1 parent d42092e commit b294050
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src_python/merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,20 @@

args = dict(zip(arg_names, sys.argv[1:]))

path_attributes_localstore = args['path_datafolder'] + args['graph_id'] + '_attributes_' + args['partition_id']
path_attributes_localstore = args['path_datafolder'] + "/" + args['graph_id'] + '_attributes_' + args['partition_id']
node_attributes_localstore = pd.read_csv(path_attributes_localstore , sep='\s+', lineterminator='\n',header=None)
node_attributes_localstore.set_index(0,inplace=True)

path_edges_localstore = args['path_modelstore'] + args['graph_id'] + '_' + args['partition_id']
path_edges_localstore = args['path_modelstore'] + "/" + args['graph_id'] + '_' + args['partition_id']
edges_localstore = pd.read_csv(path_edges_localstore, sep='\s+', lineterminator='\n', header=None)
edges_localstore.columns = ["source","target"]


path_attributes_centralstore = args['path_datafolder'] + args['graph_id'] + '_centralstore_attributes_' + args['partition_id']
path_attributes_centralstore = args['path_datafolder'] + "/" + args['graph_id'] + '_centralstore_attributes_' + args['partition_id']
node_attributes_centralstore = pd.read_csv(path_attributes_centralstore , sep='\s+', lineterminator='\n',header=None)
node_attributes_centralstore.set_index(0,inplace=True)

path_edges_centralstore = args['path_modelstore'] + args['graph_id'] + '_centralstore_' + args['partition_id']
path_edges_centralstore = args['path_modelstore'] + "/" + args['graph_id'] + '_centralstore_' + args['partition_id']
edges_centralstore = pd.read_csv(path_edges_centralstore, sep='\s+', lineterminator='\n', header=None)
edges_centralstore.columns = ["source","target"]

Expand Down

0 comments on commit b294050

Please sign in to comment.