Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion installer/constants/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
f'./xmipp {MODE_ALL}',
f'./xmipp {PARAMS[PARAM_JOBS][SHORT_VERSION]} 20',
f'./xmipp {PARAMS[PARAM_PRODUCTION][LONG_VERSION]}',
f'./xmipp {PARAMS[PARAM_BRANCH][SHORT_VERSION]} devel',
f'./xmipp {PARAMS[PARAM_BRANCH][SHORT_VERSION]} True',
f'./xmipp {MODE_ALL} {PARAMS[PARAM_JOBS][SHORT_VERSION]} 20 '
f'{PARAMS[PARAM_BRANCH][SHORT_VERSION]} devel'
],
Expand Down
7 changes: 5 additions & 2 deletions xmipp
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,10 @@ def modeGetSources(args: argparse.Namespace):
- args (Namespace): Command line arguments parsed by argparse library.
"""
# Clone sources from specified branch
getSources(branch=args.branch, production=args.production)
if hasattr(args, "production"):
getSources(branch=args.branch, production=args.production)
else:
getSources(branch=args.branch)

def modeGit(args: argparse.Namespace):
"""
Expand Down Expand Up @@ -371,7 +374,7 @@ if __name__ == "__main__":
allSubparser = subparsers.add_parser(MODE_ALL, formatter_class=ModeHelpFormatter)
allSubparser.add_argument(*getParamNames(PARAM_JOBS), type=int, default=JOBS)
allSubparser.add_argument(*getParamNames(PARAM_BRANCH))
allSubparser.add_argument(*getParamNames(PARAM_PRODUCTION), type=bool, default=False)
allSubparser.add_argument(*getParamNames(PARAM_PRODUCTION))
allSubparser.add_argument(*getParamNames(PARAM_KEEP_OUTPUT), action='store_true')

# Arguments for mode 'cleanAll'
Expand Down
Loading