diff --git a/README.md b/README.md index fd99199..1b71608 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/Webinterface/server/home.py b/Webinterface/server/home.py index 65d4f87..122b97b 100644 --- a/Webinterface/server/home.py +++ b/Webinterface/server/home.py @@ -1,5 +1,4 @@ from os import ( - listdir, path ) @@ -26,7 +25,6 @@ ##### Import functions ##### import utils from app import ( - ALLOWED_EXTENSIONS, DOWNLOAD_RESULTS ) diff --git a/Webinterface/server/utils.py b/Webinterface/server/utils.py index a1cca57..8ca9143 100644 --- a/Webinterface/server/utils.py +++ b/Webinterface/server/utils.py @@ -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']): @@ -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 diff --git a/Webinterface/templates/main.html b/Webinterface/templates/main.html index 6d96c12..45be47a 100644 --- a/Webinterface/templates/main.html +++ b/Webinterface/templates/main.html @@ -95,7 +95,7 @@

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 - Napari plugin + Napari plugin for segmentation parameter tuning and parameter presets for our example data. Make your changes in the sidebar and confirm by clicking "Apply configurations". As soon as you start @@ -312,7 +312,6 @@

VesselExpress console:

dataType: 'json' }).done(function (flash_collection) { flash_handler(flash_collection) - Dropzone.forElement('#myDropzone').removeAllFiles(true) }); }); //});