Skip to content

Commit d9875b1

Browse files
committed
reformat : ruff linter reformatting
1 parent 3e1a1ef commit d9875b1

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

validation/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""CNSD validation and benchmark scripts (not shipped in the wheel)."""
1+
"""CNSD validation and benchmark scripts (not shipped in the wheel)."""

validation/multi_seed_benchmark.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import argparse
22
import os
3-
import sys
4-
import traceback
53

64
import numpy as np
75
import scipy.stats as stats
@@ -338,12 +336,6 @@ def clone_for_mc(layer):
338336

339337
print('================ DONE ================')
340338

341-
except Exception:
342-
with open('crash_traceback.txt', 'w') as f:
343-
traceback.print_exc(file=f)
344-
print('CRASHED. Check crash_traceback.txt')
345-
sys.exit(1)
346-
347339

348340
if __name__ == '__main__':
349341
main()

0 commit comments

Comments
 (0)