Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions cybergis_compute_client/UI.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@




import os
import math
import ipywidgets as widgets
from ipyfilechooser import FileChooser
from IPython.display import Markdown, display, clear_output
from .MarkdownTable import MarkdownTable # noqa

#my work
from ._version import __version__



class UI:
"""
Expand Down Expand Up @@ -41,6 +49,7 @@ class UI:
"""
def __init__(self, compute, defaultJobName="hello_world", defaultDataFolder="./", defaultRemoteResultFolder=None):
self.compute = compute
self.input_params = {}
self.style = {'description_width': 'auto'}
self.layout = widgets.Layout(width='60%')
self.jobs = None
Expand Down Expand Up @@ -81,6 +90,8 @@ def render(self):
# 1. job template
job_config = widgets.Output()
with job_config:
#My work
display(Markdown(f"**SDK Version:** {__version__}"))
display(Markdown('# Welcome to CyberGIS-Compute'))
display(Markdown('A scalable middleware framework for enabling high-performance and data-intensive geospatial research and education on CyberGIS-Jupyter. [Click here for documentation.](https://cybergis.github.io/cybergis-compute-python-sdk/index.html)'))
display(divider)
Expand Down
3 changes: 2 additions & 1 deletion cybergis_compute_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
limitations under the License.
"""

from .CyberGISCompute import CyberGISCompute # noqa F401
from .CyberGISCompute import CyberGISCompute # noqa F401
from ._version import __version__
1 change: 1 addition & 0 deletions cybergis_compute_client/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.3.5"