Skip to content

Commit

Permalink
update input files name
Browse files Browse the repository at this point in the history
  • Loading branch information
ytchoutw committed Dec 16, 2024
1 parent 954dbf0 commit 06ff2e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gw_challenge/ingested_program/ingestion.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
def get_prediction_data():

# set test data and solution file
test_data_file = os.path.join(input_dir, 'ligo_blackbox.npz')
test_data_file = os.path.join(input_dir, 'ligo_bb_50.npz')

# Read Test data
with np.load(test_data_file) as file:
Expand Down Expand Up @@ -72,7 +72,7 @@ def install_from_whitelist(req_file):
def tp_cut(predictions):

# answers file
test_data_file = os.path.join(input_dir, 'ligo_blackbox.npz')
test_data_file = os.path.join(input_dir, 'ligo_bb_50.npz')

# Read solutions
with np.load(test_data_file) as file:
Expand Down
2 changes: 1 addition & 1 deletion gw_challenge/scoring_program/scoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def read_prediction():
def read_solution():
print(os.listdir(solutions))

solution_file = os.path.join(solutions, 'ligo_blackbox.npz')
solution_file = os.path.join(solutions, 'ligo_bb_50.npz')

# Check if file exists
if not os.path.isfile(solution_file):
Expand Down

0 comments on commit 06ff2e1

Please sign in to comment.