mirror of
https://github.com/Doctorado-ML/Stree_datasets.git
synced 2025-08-15 23:46:03 +00:00
Come back to multicore process
This commit is contained in:
18
scripts/gennotcore.py
Normal file
18
scripts/gennotcore.py
Normal file
@@ -0,0 +1,18 @@
|
||||
f = open("core.txt", "r")
|
||||
core = f.read().splitlines()
|
||||
f.close()
|
||||
f = open("hardCore.txt", "r")
|
||||
hardCore = f.read().splitlines()
|
||||
f.close()
|
||||
f = open("all.txt", "r")
|
||||
notCore_tmp = f.read().splitlines()
|
||||
f.close()
|
||||
notCore = list()
|
||||
a = 0
|
||||
f = open("notCore.txt", "w")
|
||||
for name in notCore_tmp:
|
||||
if name not in core and name not in hardCore:
|
||||
a += 1
|
||||
print(a, name)
|
||||
print(name, file=f)
|
||||
f.close()
|
Reference in New Issue
Block a user