Skip to content
Snippets Groups Projects
Commit 2c11cb60 authored by Swen Vermeul's avatar Swen Vermeul
Browse files

Merge branch 'release/0.4.0'

parents aa87a5e3 443507db
No related branches found
No related tags found
No related merge requests found
## new in jupyter-openbis-extension 0.4.0
- made it compatible to pybis-1.9.x
- minor bugfixes and improvements
## new in jupyter-openbis-extension 0.3.0
- removed search-as-you-type feature, as it is not mature yet
......
name = 'jupyter-openbis-extension.server'
__author__ = 'Swen Vermeul'
__email__ = 'swen@ethz.ch'
__version__ = '0.3.0'
__version__ = '0.4.0'
def _jupyter_server_extension_paths():
return [{
......
......@@ -220,9 +220,9 @@ class DataSetUploadHandler(IPythonHandler):
files = filenames,
)
except Exception as e:
print(e)
errors.append({
"create": 'Error while creating the dataset: {}'.format(e)
self.set_status(500)
self.write({
"reason": 'Error while creating the dataset: {}'.format(e)
})
# try to set the properties
......
......@@ -243,6 +243,7 @@ define(
state.working_dir_element = working_dir_in
let working_dir_reset = document.createElement("A")
working_dir_reset.className = "btn"
working_dir_reset.innerText = "reset to default"
working_dir_reset.onclick = function() {
working_dir_in.value = default_working_dir
......@@ -311,4 +312,4 @@ define(
}
}
}
)
\ No newline at end of file
)
......@@ -234,6 +234,7 @@ define([
var filenameCell = row.insertCell()
filenameCell.textContent = ".."
filenameCell.style.width = "80%"
filenameCell.style.cursor = "pointer"
filenameCell.onclick = function(){
var elems = data.path.split('/')
elems.pop()
......@@ -267,6 +268,7 @@ define([
filenameCell.textContent = file.name
filenameCell.style.width = "100%"
filenameCell.style.cursor = "pointer"
if (file.type === "directory") {
iconCell.className = "item_icon folder_icon icon-fixed-width"
......
......@@ -11,7 +11,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
setup(
name='jupyter-openbis-extension',
version= '0.3.0',
version= '0.4.0',
author='Swen Vermeul | ID SIS | ETH Zürich',
author_email='swen@ethz.ch',
description='Extension for Jupyter notebooks to connect to openBIS and download/upload datasets, inluding the notebook itself',
......@@ -23,7 +23,7 @@ setup(
install_requires=[
'jupyter-nbextensions-configurator',
'jupyter',
'pybis>=1.8.4',
'pybis>=1.9.5',
'numpy',
'tornado==5.1.1',
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment