CrossCompute Framework 0.9.2.3 Release Notes

We are happy to announce the latest release of our CrossCompute Analytics Automation System that you can use to turn scripts and Jupyter notebooks into web-based tools and runnable reports.

What’s New

crosscompute 0.9.2.3

Screenshot from 2022-04-13 14-50-41

display:
  pages:
    - id: automation
      configuration:
        design: input
  • Each automation can now feature its input or output by default. The input or output will be pre-filled using values from the first batch. The automation page originally displayed a list of batches. To configure this setting, define display.pages > id: automation as shown above. Set design=input or design=output to include the input or output at the top of the automation page. Set design=none to revert to a simple list of batches. The default setting for the automation page is design=input.
display:
  pages:
    - id: output
      configuration:
        design: none
  • The input/output/log/debug pages now default to design=flex-vertical, which includes variable labels and simple styling. To configure this setting, define display.pages > id: input/output/log/debug as shown above. To remove the variable labels and styling, set design=none.
input:
  variables:
    - id: url
      view: string
      path: variables.dictionary
      configuration:
        label: URL
  • If you don’t like the labels that are auto-generated from the variable ids, you can set each label explicitly by setting configuration: label=YOUR-LABEL as shown above.
environment:
  batch: thread

environment:
  batch: process
  • Batches run concurrently, which means that your batches will run faster for each automation depending on the number of CPU cores on your machine. To configure this setting, define environment.batch You can choose whether to use process concurrency or thread concurrency.

crosscompute-views-map 0.1.2.1

  • This small update adds labels to both map-mapbox and map-pydeck-screengrid for compatibility with crosscompute 0.9.2.3.

crosscompute-printers-pdf 0.3.2

prints:
  - format: pdf
    configuration:
      header-footer:
          font-family: sans-serif
          font-size: 8pt
          color: '#808080'
          padding: 0.1in 0.25in
          skip-first: true
      page-number:
          location: footer
          alignment: right
    folder: ~/Documents/attachments/randomize-histograms-{timestamp}
    name: me{mean}-va{variance}-vc{value_count}-bc{bin_count}.pdf
  • Print configuration has been moved to the configuration file. Previously, you had to configure the print format and print folder from the command-line. The command-line options have been removed. Please see above for the configuration format.
  • Multiple print configurations are possible. The only required parameter is format. Currently, only format=pdf is supported.
crosscompute --print
  • With the print configuration in the configuration file, you can simply run crosscompute --print to generate all the prints.
prints:
  - format: pdf
    configuration:
      header-footer:
          font-family: sans-serif
          font-size: 8pt
          color: '#808080'
          padding: 0.1in 0.25in
          skip-first: true
      page-number:
          location: footer
          alignment: right
  • Add page numbers by defining prints > configuration.page-number. You can choose to have your page numbers in the header or footer and on the left or right hand side. You can configure header-footer styling in prints > configuration.header-footer.
  • To skip page numbers on the first page, specify prints > configuration.header-footer.skip-first=true.
prints:
  - format: pdf
    folder: ~/Documents/attachments/randomize-histograms-{timestamp}
    name: me{mean}-va{variance}-vc{value_count}-bc{bin_count}.pdf
  • You can customize the folder name and file name of each print using variables from your automation as shown above.

jupyterlab-crosscompute 0.2.2

Screenshot from 2022-04-13 18-25-07

  • This small update saves your notebooks when you click Launch.

Where We Need Help