Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
jlopez
wicopa
Commits
b5b935d1
Commit
b5b935d1
authored
Apr 10, 2019
by
jlopez
Browse files
Fix generation in Conda env
parent
2606a934
Changes
1
Show whitespace changes
Inline
Side-by-side
js/wicopa.js
View file @
b5b935d1
...
...
@@ -233,6 +233,18 @@ function generate_container() {
nrow
+=
2
;
}
if
(
SELECTED_PACKAGES
[
"
Conda
"
].
length
>
0
)
{
if
(
isSingularity
)
{
PREVIEW
+=
"
\t
export PATH=/opt/conda/bin:$PATH
\n
"
;
PREVIEW
+=
"
\n
"
;
nrow
+=
2
;
}
else
{
PREVIEW
+=
"
RUN export PATH=/opt/conda/bin:$PATH
\n
"
;
PREVIEW
+=
"
\n
"
;
nrow
+=
2
;
}
}
var
date
=
new
Date
();
var
options
=
{
...
...
@@ -258,27 +270,8 @@ function generate_container() {
nrow
+=
4
;
}
if
(
SELECTED_PACKAGES
[
"
Conda
"
].
length
>
0
)
{
if
(
isSingularity
)
{
PREVIEW
+=
"
%environment
\n
"
;
PREVIEW
+=
"
\t
export PATH=/opt/conda/bin:$PATH
\n
"
;
nrow
+=
2
;
}
else
{
PREVIEW
+=
"
RUN export PATH=/opt/conda/bin:$PATH
\n
"
;
nrow
+=
1
;
}
}
if
(
isSingularity
)
{
PREVIEW
+=
"
%post
\n
"
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment