Two feature adds: Secondary Paths are now generated, along with all the hashes that are not part of the path exclusions. Added remove/reset data feature
This commit is contained in:
@@ -364,8 +364,10 @@ def divideSortedHashExecutions(first_policy,second_policy, pups):
|
||||
def generatePreflights(first_policy, second_policy):
|
||||
allhashes = pd.read_parquet(f"parquet\\all_approved_hashes_{first_policy}_{second_policy}.parquet")
|
||||
|
||||
pathexclusions = tryToReadCSV(f"approved\\path_needs_approved_{first_policy}_{second_policy}.csv")
|
||||
pathexclusions.to_parquet(f"parquet\\final_path_exclusions_{first_policy}_{second_policy}.parquet", index=False)
|
||||
primarypathexclusions = tryToReadCSV(f"approved\\path_needs_approved_{first_policy}_{second_policy}.csv")
|
||||
secondarypathexclusions = tryToReadCSV(f"approved\\secondary_paths_{first_policy}_{second_policy}.csv")
|
||||
|
||||
pathexclusions = pd.concat([primarypathexclusions, secondarypathexclusions], ignore_index=True)
|
||||
|
||||
publishers = tryToReadCSV(f"approved\\publishers_{first_policy}_{second_policy}.csv")
|
||||
publishers.to_parquet(f"parquet\\publishers_{first_policy}_{second_policy}.parquet", index=False)
|
||||
|
||||
Reference in New Issue
Block a user