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!
I encountered a similar
Segmentation faulterror (#65 (comment)) when runningcalc.compute()using the latest Docker image (built from the provided Dockerfile).Reproduction details:
250 variables × 230 time pointsinput_data.csvWhen 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!