Skip to content

Commit 874ed3b

Browse files
committed
Ad link to repository, fix typo
1 parent b12755a commit 874ed3b

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
FROM materialscloud/tools-barebone:1.3.0
22

3-
LABEL maintainer="Osvaldo Hernandez-Cuellar <osvaldo.hernandezcuellarh@epfl.ch>, Liam O. Marsh <liam.marsh@epfl.ch>, and Ruben Laplaza <ruben.laplazasolanas@epfl.ch>"
3+
LABEL maintainer="Osvaldo Hernandez-Cuellar <osvaldo.hernandezcuellar@epfl.ch>, Liam O. Marsh <liam.marsh@epfl.ch>, and Ruben Laplaza <ruben.laplazasolanas@epfl.ch>"
44

55
# Python requirements
66
COPY ./requirements.txt /home/app/code/requirements.txt
77
# Run this as sudo to replace the version of pip
88

9-
109
RUN pip3 install -U 'pip>=10' setuptools wheel
1110
# install packages as normal user (app, provided by passenger)
1211

compute/pages.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def process_structure_view():
239239
jmol_list_species =species_list(cell)
240240

241241
else:
242-
raise ValueError("plz")
242+
raise ValueError("Please wait until cell2info finishes.")
243243
#output.extend([f"Please, wait until cell2info has finished for this input. Could not find {token.info_path}."])
244244

245245
#token.remove()
@@ -248,10 +248,8 @@ def process_structure_view():
248248
output_lines=output,
249249
infodata=infodata.strip(),
250250
celldata=celldata,
251-
#xsfdata=xsf,
252251
ucellparams=ucellparams,
253252
compound_data=compound_data,
254-
#xyzdata=xyzdata,
255253
xyzdata=xyzdata,
256254
labels=labels,
257255
pos=pos,
@@ -261,7 +259,7 @@ def process_structure_view():
261259
jmol_list_species = jmol_list_species,
262260
jmolCon = jmolCon,
263261
totmol = len(cell.moleclist),
264-
enumerate=enumerate, len=len, zip=zip, # why TF is this needed?????
262+
enumerate=enumerate, len=len, zip=zip, # needed
265263
#token_path=tkn_path.replace('/','_'), #blueprint.url_for('process_structure','analysis', token=tkn_path.replace('/','_')),
266264
struct_name=token.refcode,
267265
))

user_templates/how_to_cite.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<b>Note:</b> if you want to use the code on your computer, you can download the cell2mol python library from the
1010
<a href="https://github.com/lcmd-epfl/cell2mol" target="_blank">
1111
cell2mol GitHub repository
12-
</a>. You can also find pre-build Docker images for this web app on
12+
</a>. You can also find pre-built Docker images for this web app on
1313
<a href="https://github.com/lcmd-epfl/tools-cell2mol" target="_blank">
1414
GitHub
1515
</a>.

0 commit comments

Comments
 (0)