Skip to content

Commit e0353ac

Browse files
committed
Move datafiles
1 parent 686afaf commit e0353ac

File tree

5 files changed

+2077731
-2077731
lines changed

5 files changed

+2077731
-2077731
lines changed

resotodata/__main__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -232,17 +232,17 @@ def write_ccfdataset() -> None:
232232
def write_instances() -> None:
233233
instances = get_instances()
234234

235-
instances_file = resource_filename("resotodata", "data/instances.json")
236-
print(f"Writing instances dataset to {instances_file}")
237-
with open(instances_file, "w") as f:
235+
ec2instancesdataset_file = resource_filename("resotodata", "data/ec2instancesdataset.json")
236+
print(f"Writing instances dataset to {ec2instancesdataset_file}")
237+
with open(ec2instancesdataset_file, "w") as f:
238238
json.dump(instances, f, indent=4)
239239
f.write("\n")
240240

241241
strip_instances(instances)
242242

243-
stripped_instances_file = resource_filename("resotodata", "data/stripped_instances.json")
244-
print(f"Writing instances dataset to {stripped_instances_file}")
245-
with open(stripped_instances_file, "w") as f:
243+
instances_file = resource_filename("resotodata", "data/instances.json")
244+
print(f"Writing instances dataset to {instances_file}")
245+
with open(instances_file, "w") as f:
246246
json.dump(instances, f, indent=4)
247247
f.write("\n")
248248

resotodata/cloud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33

44
regions = LazyLoadedDict("regions.json")
5+
ec2instancesdataset = LazyLoadedDict("ec2instancesdataset.json")
56
instances = LazyLoadedDict("instances.json")
6-
stripped_instances = LazyLoadedDict("stripped_instances.json")

0 commit comments

Comments
 (0)