Skip to content

Commit

Permalink
update napari link and minor change in GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
philippa1812 committed May 18, 2022
1 parent 9874cf0 commit ae1aa70
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ https://www.uni-due.de/experimental-immunology

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5733150.svg)](https://doi.org/10.5281/zenodo.5733150)

Download our example data from [Zenodo](https://zenodo.org/record/5733150#.YajQ1S9Xb5k) containing 3D light-sheet microscopic images of different organs with corresponding preset parameters for each organ. For segmentation parameter tuning you can use our [Napari plugin](https://www.napari-hub.org/plugins/vessel-express).
Download our example data from [Zenodo](https://zenodo.org/record/5733150#.YajQ1S9Xb5k) containing 3D light-sheet microscopic images of different organs with corresponding preset parameters for each organ. For segmentation parameter tuning you can use our [Napari plugin](https://www.napari-hub.org/plugins/vessel-express-napari).

## Feedback & Bug Reports

Expand Down
2 changes: 0 additions & 2 deletions Webinterface/server/home.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from os import (
listdir,
path
)

Expand All @@ -26,7 +25,6 @@
##### Import functions #####
import utils
from app import (
ALLOWED_EXTENSIONS,
DOWNLOAD_RESULTS
)

Expand Down
3 changes: 1 addition & 2 deletions Webinterface/server/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ def download_images(all_results=None, flash_collection=None, firstrun=None):
return flash_collection
else:
# Zip everything except files that end with .zip and the config_standard.json #
zip_ignore = len(glob(path.join(current_app.config['UPLOAD_FOLDER'], '*zip')))
with ZipFile(path.join(current_app.config['UPLOAD_FOLDER'], DOWNLOAD_RESULTS), 'w') as zip_filename:
# Iterating over upload_folder and all subdirs to write them into a zip file #
for dir, _, files in walk(current_app.config['UPLOAD_FOLDER']):
Expand Down Expand Up @@ -226,7 +225,7 @@ def run_pipeline(flash_collection):
'''
if not any((image.endswith(tuple(ALLOWED_EXTENSIONS))) for image in
listdir(current_app.config['UPLOAD_FOLDER'])):
flash_collection.append({'message': 'No image found!', 'type': 'warning'})
flash_collection.append({'message': 'Found nothing to process!', 'type': 'warning'})
return flash_collection
else:
is_pipeline_not_done = True
Expand Down
3 changes: 1 addition & 2 deletions Webinterface/templates/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h2 class="ui huge header">
<div class="ui raised segment">
Try VesselExpress by uploading single-channel grayscale TIF image stacks. You may want to change the
parameters in the sidebar. Hover over the labels for description. We provide a
<a href="https://www.napari-hub.org/plugins/vessel-express" target="_blank" style="color: #00796b">Napari plugin</a>
<a href="https://www.napari-hub.org/plugins/vessel-express-napari" target="_blank" style="color: #00796b">Napari plugin</a>
for segmentation parameter tuning and parameter presets for our
<a href="https://doi.org/10.5281/zenodo.5733150" target="_blank" style="color: #00796b">example data</a>.
Make your changes in the sidebar and confirm by clicking "Apply configurations". As soon as you start
Expand Down Expand Up @@ -312,7 +312,6 @@ <h3 style="padding-top: 0px !important;">VesselExpress console:</h3>
dataType: 'json'
}).done(function (flash_collection) {
flash_handler(flash_collection)
Dropzone.forElement('#myDropzone').removeAllFiles(true)
});
});
//});
Expand Down

0 comments on commit ae1aa70

Please sign in to comment.