Skip to content
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

ZMT zurich med tech

  1. Home
  2. Sim4Life
  3. Python API
  4. How to Suppress an analysis exporter prompt in the Console Window

How to Suppress an analysis exporter prompt in the Console Window

Scheduled Pinned Locked Moved Python API
2 Posts 2 Posters 286 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tiwwexx
    wrote on last edited by
    #1

    As the title says, I'm trying to suppress the output
    "Analysis : [Info] EXCEL (R) Exporter saved data to ..." after running
    Capture.JPG

    However, I think a more broad question would be how I can find out what some of the possible inputs are for the excel_exporter.Update() line. I tried looking in the API but there's really no help (as shown below). Any help would be appreciated.
    1b6a71ee-a95b-4b2a-b87e-84b7c64b06db-image.png

    1 Reply Last reply
    0
    • SylvainS Offline
      SylvainS Offline
      Sylvain
      ZMT
      wrote on last edited by
      #2

      Hi, unfortunately most algorithms (this one included) do not have the option to mute their info messages. So I don't think there is a way to suppress this kind of output in the console.
      As for the possible options for the Update() function, there is only one: overwrite=True/False, to determine the behavior of the exporter if the target file already exists. The Update() function is the equivalent of clicking the Refresh button in the algorithm in the GUI: it triggers the algorithm.
      If the API Browser is lacking, you can find more information (like the function signature) by typing e.g.

      help(excel_exporter.Update)
      

      in the Console.

      1 Reply Last reply
      1
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Search