Skip to content

Commit

Permalink
attempt to change default away from main
Browse files Browse the repository at this point in the history
  • Loading branch information
Avery Kiihne authored and Avery Kiihne committed Nov 15, 2024
1 parent 3eee452 commit ec650ba
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions fre/pp/frepp.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,12 @@ def configure_yaml(context,yamlfile,experiment,platform,target):
required=True)
@click.option("-b", "--branch",
show_default=True,
default=None, type=NoneType,
default=None, type='NoneType',
help="Name of fre2/workflows/postproc branch to clone; " \
"defaults to None. Not intended for production use, " \
"but needed for branch testing." )
@click.pass_context
def checkout(context, experiment, platform, target, branch='main'):
def checkout(context, experiment, platform, target, branch=None):
# pylint: disable=unused-argument
""" - Execute fre pp checkout """
context.forward(checkoutTemplate)
Expand Down Expand Up @@ -198,12 +198,12 @@ def configure_xml(context, xml, platform, target, experiment, do_analysis, histo
required=True)
@click.option("-b", "--branch",
show_default=True,
default="main", type=str,
default=None, type='NoneType',
help="Name of fre2/workflows/postproc branch to clone; " \
"defaults to 'main'. Not intended for production use, " \
"defaults to None. Not intended for production use, " \
"but needed for branch testing." )
@click.pass_context
def wrapper(context, experiment, platform, target, config_file, branch='main'):
def wrapper(context, experiment, platform, target, config_file, branch=None):
# pylint: disable=unused-argument
""" - Execute fre pp steps in order """
context.forward(runFre2pp)
Expand Down

0 comments on commit ec650ba

Please sign in to comment.