Giter VIP home page Giter VIP logo

autonotebook's People

Contributors

phockett avatar

Watchers

 avatar

autonotebook's Issues

Manual job triggering with .proc file

Now mostly implemented in 8385bd5

But a total mess.

  • Poll for .proc files.
  • Update settings from .proc file (NOTE: THIS CURRENTLY SKIPS PATH UPDATES)
  • Arb arg passing to notebook via
    • ENV settings (limited to string type).
    • JSON settings file.

TODO:

  • Fix path updates. See
    if updateFlag and not resetFlag:
  • Subdir output broken for .proc file case? No idea why - might be Path() issue?
  • Add demo notebooks with arb arg passing.
  • Formalise JSON method as better option, and use this in general. Handy for keeping track of settings as notebook sidecar file, should also be flexible enough to use with, e.g., Jupyter Runner or Papermill.
  • Tidy up - should remove repeated trigger path updates and related to a function. See also #2

Automation from elogs

For consideration...

  • Pull data for current file from elog & include in processed notebook.
  • Pull data from all files from elog, and auto process groups.
  • Use elog to trigger builds? This might be useful if, e.g., data on a remote server. (Cf. psana methods.)
  • Write processing info (data verification, file links etc.) to elog.

For SACLA data this is via Google Sheets, e.g. use gspread.

Rationalise paths

Sort out general path spaghetti, esp. with subdirs and subfunctions.

  • Should rationalise to a single global get/set to avoid definition changes.
  • Persist some file-based paths to allow for easy reuse.

Process management

  • Implement proper handling of triggered processes, including comms for generate file triggers (rather than requiring them to be picked up by dir watcher process).
  • Implement queue for larger jobs/multiple dataset processing cases.

Better filesystem monitoring

Currently implement a basic dir poll, with Glob + dictionary comparisons (as sets).

Lots of options for more sophisticated methods. Should also integrate with proper event queue/trigger routines.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.