Skip to content

Segmentation fault #84

@Silflame

Description

@Silflame

I encountered a similar Segmentation fault error (#65 (comment)) when running calc.compute() using the latest Docker image (built from the provided Dockerfile).
Reproduction details:

  • pyspi version: (latest from GitHub)
  • Environment: Docker (built with Dockerfile from the repo)
  • Input shape: 250 variables × 230 time points input_data.csv
  • Command:
       from scipy import io as sio
       from oct2py import octave
       from pyspi.calculator import Calculator
       import pandas as pd
       import numpy as np
       ts = pd.read_csv('input_data.csv', header=None)
       ts = np.array(ts)
       calc = Calculator(dataset=ts, normalise=True, detrend=True)
       calc.compute()
    

When I reduce the variable count to 80 (input shape: 80 × 230), the code runs without error. This strongly suggests the issue is data dimension dependent. Would you be able to check again with a input matrix of size 250 × 230 and see if the crash occurs on your end? If not, could you recommend debugging steps?

Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions