Skip to content
Closed
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 @@ -212,7 +212,7 @@
'./xmipp',
f'./xmipp {MODE_ALL}',
f'./xmipp {PARAMS[PARAM_JOBS][SHORT_VERSION]} 20',
f'./xmipp {PARAMS[PARAM_PRODUCTION][LONG_VERSION]}',
f'./xmipp {PARAMS[PARAM_PRODUCTION][LONG_VERSION]} True',
f'./xmipp {PARAMS[PARAM_BRANCH][SHORT_VERSION]} devel',
f'./xmipp {MODE_ALL} {PARAMS[PARAM_JOBS][SHORT_VERSION]} 20 '
f'{PARAMS[PARAM_BRANCH][SHORT_VERSION]} devel'
Expand Down
21 changes: 12 additions & 9 deletions xmipp
Original file line number Diff line number Diff line change
Expand Up @@ -213,14 +213,17 @@ def modeGetModels(args: argparse.Namespace):
modelsDLTK.downloadDeepLearningModels(args.directory, distPath)

def modeGetSources(args: argparse.Namespace):
"""
### Downloads all Xmipp's sources.

#### Params:
- args (Namespace): Command line arguments parsed by argparse library.
"""
# Clone sources from specified branch
getSources(branch=args.branch, production=args.production)
"""
### Downloads all Xmipp's sources.

#### Params:
- args (Namespace): Command line arguments parsed by argparse library.
"""
# Clone sources from specified branch
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