Skip to content

Commit

Permalink
Deleted 'params_pd_mocks' as input parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
vcalderon2009 committed Feb 21, 2018
1 parent d52fb5e commit e9bdb2a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/data/mocks_create_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,6 @@ def get_analysis_params(param_dict):
params_pd_data: pandas DataFrame
DataFrame with necessary parameters to run `sdss data create`
params_pd_mocks: pandas DataFrame
DataFrame with necessary parameters to run `sdss mocks create`
"""
##
## Array of values used for the analysis.
Expand Down Expand Up @@ -267,8 +265,7 @@ def get_exec_string(params_pd_data, param_dict):

return string_dict

def file_construction_and_execution(params_pd_data, params_pd_mocks,
param_dict):
def file_construction_and_execution(params_pd_data, param_dict):
"""
1) Creates file that has shell commands to run executable
2) Executes the file, which creates a screen session with the executables
Expand Down Expand Up @@ -360,12 +357,10 @@ def main(args):
param_dict = vars(args)
##
## Parameters for the analysis
( params_pd_data ,
params_pd_mocks) = get_analysis_params(param_dict)
params_pd_data = get_analysis_params(param_dict)
##
## Running analysis
file_construction_and_execution( params_pd_data ,
params_pd_mocks,
param_dict )

# Main function
Expand Down

0 comments on commit e9bdb2a

Please sign in to comment.