Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mobx-state-tree] Value undefined is no MST Node with Timeseries data #1014

Closed
kaitco opened this issue Jun 3, 2021 · 2 comments
Closed
Assignees
Labels
problem bug or something isn't working time series Time Series annotation

Comments

@kaitco
Copy link

kaitco commented Jun 3, 2021

Describe the bug
When labeling timeseries data in label studio mobx-state-tree exception is thrown. Problem came with 1.0.2. Pre 1.0.2 versions are not affected.

To Reproduce
Steps to reproduce the behavior:

  1. Fresh install of v1.0.2
  2. Import task as json with following entry:
    [{"csv": "https://app.heartex.ai/samples/time-series.csv?time=time&values=velocity%2Cacceleration&sep=%2C"},{"csv": "https://app.heartex.ai/samples/time-series.csv?time=time&values=velocity%2Cacceleration&sep=%2C"}]
  3. Setup labeling interface with following configuration:
<View>
  <Header value="Time Series classification" style="font-weight: normal"/>
  <!-- Choices (whole signal classification) -->
    <Choices name="pattern" toName="ts">
      <Choice value="Growth"/>
      <Choice value="Decay"/>
    </Choices>
    <!-- Labels (per region classification) -->
    <TimeSeriesLabels name="label" toName="ts">
      <Label value="Run"/>
      <Label value="Walk"/>
    </TimeSeriesLabels>
    <!-- Object (source) tag for plot -->
    <TimeSeries name="ts" value="$csv" valueType="url">
      <Channel column="velocity"/>
    </TimeSeries>
</View>
  1. Label region with Label 3 or 4. After submitting data an error occurs:

Bildschirmfoto 2021-06-03 um 11 16 56

Bildschirmfoto 2021-06-03 um 11 19 06

Bildschirmfoto 2021-06-03 um 11 19 34

  1. Next view is not loaded and refreshing the browser recovers everything until next label

  2. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: MacOS, Windows
  • Label Studio Version 1.0.2
@niklub niklub assigned hlomzik and unassigned makseq Jun 5, 2021
@niklub niklub added the problem bug or something isn't working label Jun 5, 2021
@kaitco
Copy link
Author

kaitco commented Jul 7, 2021

Same bug still existent in LS 1.1.0

@makseq
Copy link
Member

makseq commented Oct 10, 2021

Just checked in LS 1.3, it works well now.

image

@makseq makseq closed this as completed Oct 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem bug or something isn't working time series Time Series annotation
Projects
None yet
Development

No branches or pull requests

4 participants