small changes
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -2,3 +2,5 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
output
|
output
|
||||||
__pycache__
|
__pycache__
|
||||||
|
.ipynb_checkpoints
|
||||||
|
|
||||||
|
|||||||
0
__init__.py
Normal file
0
__init__.py
Normal file
File diff suppressed because one or more lines are too long
@@ -94,7 +94,6 @@ def shuffle_benchmark(
|
|||||||
full_path = Path(file_path) / file_name
|
full_path = Path(file_path) / file_name
|
||||||
if not overwrite and full_path.exists():
|
if not overwrite and full_path.exists():
|
||||||
print(f"file exists {file_path}")
|
print(f"file exists {file_path}")
|
||||||
|
|
||||||
with open(full_path, "r") as fp:
|
with open(full_path, "r") as fp:
|
||||||
runs = fp.readline()
|
runs = fp.readline()
|
||||||
runs = runs.split(',')
|
runs = runs.split(',')
|
||||||
|
|||||||
@@ -44,5 +44,4 @@ class Evilkode:
|
|||||||
return EvilOutput(possible_nkodes=[list(el) for el in self.possible_nkode], iterations=idx+1)
|
return EvilOutput(possible_nkodes=[list(el) for el in self.possible_nkode], iterations=idx+1)
|
||||||
for jdx, props in enumerate(obs.property_list):
|
for jdx, props in enumerate(obs.property_list):
|
||||||
self.possible_nkode[jdx] = props.intersection(self.possible_nkode[jdx])
|
self.possible_nkode[jdx] = props.intersection(self.possible_nkode[jdx])
|
||||||
|
|
||||||
raise Exception("error in Evilkode, observations stopped yielding")
|
raise Exception("error in Evilkode, observations stopped yielding")
|
||||||
|
|||||||
Reference in New Issue
Block a user