AI Article Synopsis

  • - Jupyter Notebooks allow users to create and run executable documents in a web browser, including graphical interfaces with widgets, making it easier for both technical and non-technical users to interact with simulations.
  • - xml2jupyter is a Python package that bridges the gap between XML configuration files and Jupyter widgets, allowing users to modify simulation parameters easily and streamline their configuration process.
  • - The package has been tested with PhysiCell, an open-source simulator, and is used by students for various projects, also aiding in the development of Jupyter GUIs for applications on platforms like nanoHUB.

Article Abstract

Jupyter Notebooks (Kluyver et al., 2016, Perkel (2018)) provide executable documents (in a variety of programming languages) that can be run in a web browser. When a notebook contains graphical widgets, it becomes an easy-to-use graphical user interface (GUI). Many scientific simulation packages use text-based configuration files to provide parameter values and run at the command line without a graphical interface. Manually editing these files to explore how different values affect a simulation can be burdensome for technical users, and impossible to use for those with other scientific backgrounds. xml2jupyter is a Python package that addresses these scientific bottlenecks. It provides a mapping between configuration files, formatted in the Extensible Markup Language (XML), and Jupyter widgets. Widgets are automatically generated from the XML file and these can, optionally, be incorporated into a larger GUI for a simulation package, and optionally hosted on cloud resources. Users modify parameter values via the widgets, and the values are written to the XML configuration file which is input to the simulation's command-line interface. xml2jupyter has been tested using PhysiCell (Ghaffarizadeh, Heiland, Friedman, Mumenthaler, & Macklin, 2018), an open source, agent-based simulator for biology, and it is being used by students for classroom and research projects. In addition, we use xml2jupyter to help create Jupyter GUIs for PhysiCell-related applications running on nanoHUB (Madhavan et al., 2013).

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC6656392PMC
http://dx.doi.org/10.21105/joss.01408DOI Listing

Publication Analysis

Top Keywords

xml jupyter
8
jupyter widgets
8
configuration files
8
parameter values
8
widgets
5
xml2jupyter
4
xml2jupyter mapping
4
mapping parameters
4
xml
4
parameters xml
4

Similar Publications

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!