Giter VIP home page Giter VIP logo

nextline-schedule's Introduction

nextline-schedule

PyPI - Version PyPI - Python Version

Test Status Test Status codecov

A plugin for nextline-graphql. An interface to the SO scheduler.

Installation

pip install nextline-schedule

Configuration

Environment variable Default value Description
NEXTLINE_SCHEDULE__API https://scheduler-uobd.onrender.com/api/v1/schedule/ The schedule API URL
NEXTLINE_SCHEDULE__LENGTH_MINUTES 1
NEXTLINE_SCHEDULE__POLICY dummy

nextline-schedule's People

Contributors

dependabot[bot] avatar taisakuma avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

nextline-schedule's Issues

Auto mode reloads a schedule after interrupt under certain conditions

(I'm not really sure if nextline-web is the right repo to open this in, of course feel free to move it.)

I'd say it's low priority, but while testing functionality on the so-daq-sequencer-backend I found that I could get auto mode to load a schedule after interrupt under certain conditions.

To reproduce, first setup the environment:

$ git clone https://github.com/simonsobs/so-daq-sequencer-docker.git
$ cd so-daq-sequencer-docker/
$ git checkout v0.7.10
$ sudo make build
$ sudo make run

Navigate to http://localhost:8080/nextline/. Then perform the following steps:

  1. Use the "load from scheduler" feature to load a dummy schedule with sleeps in it
  2. Run the schedule non-interactively (with auto mode "off")
  3. While the schedule runs, turn on auto mode
  4. Interrupt the running schedule -- which I would expect would disable auto mode

Auto mode then loads another schedule automatically. If you interrupt that schedule it'll abort and auto mode will shut off.

EDIT: Also present on v0.7.10. I updated the reproduce instructions with this.

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.