Skip to content

Commit 6db3b37

Browse files
committed
Python: Use separate directory for subclass capture models
1 parent c4abffe commit 6db3b37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/ql/src/meta/ClassHierarchy/process-mrva-results.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def gather_from_bqrs_results():
100100
package_data[pkg].add(tuple(t))
101101

102102
def gather_from_existing():
103-
for f in glob.glob(f"{mad_path}/auto-*.model.yml", recursive=True):
103+
for f in glob.glob(f"{mad_path}/subclass-capture/auto-*.model.yml", recursive=True):
104104
print(f"Processing {f}")
105105

106106
all_data = parse_from_file(Path(f))
@@ -114,7 +114,7 @@ def gather_from_existing():
114114
print(f"Skipping {repr(pkg)}")
115115
continue
116116

117-
pkg_path = mad_path / f"auto-{pkg}.model.yml"
117+
pkg_path = mad_path / "subclass-capture" / f"auto-{pkg}.model.yml"
118118

119119
print(f"Writing {pkg_path}")
120120

0 commit comments

Comments
 (0)