Skip to content

Commit

Permalink
Merge pull request #249 from arayabrain/hotfix/fix-errors
Browse files Browse the repository at this point in the history
fix errors found on release test
  • Loading branch information
ReiHashimoto authored Dec 20, 2023
2 parents dfdc9c7 + 32d7eb4 commit 677f08d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 19 deletions.
21 changes: 3 additions & 18 deletions frontend/src/store/slice/DisplayData/DisplayDataSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,7 @@ export const displayDataSlice = createSlice({
})
.addCase(getTimeSeriesDataById.pending, (state, action) => {
const { path } = action.meta.arg
if (
Object.prototype.hasOwnProperty.call(
!state.timeSeries.hasOwnProperty,
path,
)
) {
if (!Object.prototype.hasOwnProperty.call(state.timeSeries, path)) {
state.timeSeries[path] = {
type: "timeSeries",
xrange: [],
Expand Down Expand Up @@ -111,12 +106,7 @@ export const displayDataSlice = createSlice({
})
.addCase(getTimeSeriesAllData.pending, (state, action) => {
const { path } = action.meta.arg
if (
Object.prototype.hasOwnProperty.call(
!state.timeSeries.hasOwnProperty,
path,
)
) {
if (!Object.prototype.hasOwnProperty.call(state.timeSeries, path)) {
state.timeSeries[path] = {
type: "timeSeries",
xrange: [],
Expand Down Expand Up @@ -158,12 +148,7 @@ export const displayDataSlice = createSlice({
})
.addCase(getTimeSeriesInitData.pending, (state, action) => {
const { path } = action.meta.arg
if (
Object.prototype.hasOwnProperty.call(
!state.timeSeries.hasOwnProperty,
path,
)
) {
if (!Object.prototype.hasOwnProperty.call(state.timeSeries, path)) {
state.timeSeries[path] = {
type: "timeSeries",
xrange: [],
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ include = [
"studio/app/Snakefile",
"studio/config/*.yaml",
"sample_data/input/*",
"sample_data/output/*",
"sample_data/output/**/*.yaml",
]
exclude = ["studio/tests/*", "studio/test_data/*", "conda.env.*"]

Expand Down

0 comments on commit 677f08d

Please sign in to comment.