Skip to content

Commit

Permalink
[binary] output file name change for outside parameters (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunilmut authored Feb 18, 2024
1 parent 10bd8f5 commit 49b54e6
Show file tree
Hide file tree
Showing 62 changed files with 4 additions and 11 deletions.
8 changes: 1 addition & 7 deletions binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
EMPTY = "_EMPTY"

# output file name formats:
OUTPUT_NO_PARAMETERS = "_Not"
OUTPUT_NO_PARAMETERS = "_outside-parameters"
OUTPUT_ZERO_TO_ONE_CSV_NAME = "01"
OUTPUT_ONE_TO_ZERO_CSV_NAME = "10"
OUTPUT_LOG_FILE = "binary_output.log"
Expand Down Expand Up @@ -249,7 +249,6 @@ def format_out_nop_file_name(
+ UNDERSCORE
+ OUTPUT_ZERO_TO_ONE_CSV_NAME
+ output_no_parameter
+ param_names
+ common.CSV_EXT,
)
min_time_before_after = format_out_name_with_param_val(
Expand All @@ -264,7 +263,6 @@ def format_out_nop_file_name(
+ input_file_without_ext
+ min_time_before_after
+ output_no_parameter
+ param_names
+ common.CSV_EXT,
)
else:
Expand All @@ -273,7 +271,6 @@ def format_out_nop_file_name(
OUTPUT_ZERO_TO_ONE_CSV_NAME
+ min_time_before_after
+ output_no_parameter
+ param_names
+ common.CSV_EXT,
)

Expand All @@ -283,7 +280,6 @@ def format_out_nop_file_name(
+ UNDERSCORE
+ OUTPUT_ONE_TO_ZERO_CSV_NAME
+ output_no_parameter
+ param_names
+ common.CSV_EXT,
)

Expand All @@ -295,7 +291,6 @@ def format_out_nop_file_name(
+ input_file_without_ext
+ min_time_before_after
+ output_no_parameter
+ param_names
+ common.CSV_EXT,
)
else:
Expand All @@ -304,7 +299,6 @@ def format_out_nop_file_name(
OUTPUT_ONE_TO_ZERO_CSV_NAME
+ min_time_before_after
+ output_no_parameter
+ param_names
+ common.CSV_EXT,
)

Expand Down
7 changes: 3 additions & 4 deletions dff.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import concurrent
import getopt
import glob
import logging
import os
import subprocess
import sys
import time
from concurrent.futures import ProcessPoolExecutor

import h5py
import numpy as np
Expand All @@ -23,9 +26,6 @@

import common
from parameter import *
import concurrent
from concurrent.futures import ProcessPoolExecutor
import time

# UI related constants
INPUT_FOLDER_NAME_BOX_MAX_WIDTH = 26
Expand Down Expand Up @@ -59,7 +59,6 @@
OUTPUT_ZEROS = "0_"
OUTPUT_ONES = "1_"
OUTPUT_DFF = "dff_"
OUTPUT_NOT = "_Not"
OUTPUT_AUC = "AUC (sum)"
OUTPUT_Z_SCORE = "dff (avg)"
OUTPUT_SUMMARY_COLUMN_SCHEMA = {
Expand Down

0 comments on commit 49b54e6

Please sign in to comment.