Skip to content

check if multiprocess still work

To follow pep8 we've changed back the import order from

import spam.deformation
import spam.DIC
import spam.helpers
import spam.label

import os
os.environ["OPENBLAS_NUM_THREADS"] = "1"

import argparse
import multiprocessing

import numpy
import progressbar
import tifffile

numpy.seterr(all="ignore")

to

import argparse
import multiprocessing
import os

import numpy
import progressbar
import spam.deformation
import spam.DIC
import spam.helpers
import spam.label
import tifffile

os.environ["OPENBLAS_NUM_THREADS"] = "1"
numpy.seterr(all="ignore")

From what we've tested the multi process is still working fine but from what @stamatio remember it was causing an issue. @ando you might want to check on your end that everything is working fine.

scripts: spam-ddic

  • spam-deformImage
  • spam-discreteStrain
  • spam-filterPhiField
  • spam-gdic
  • spam-moveLabels
  • spam-regularStrain

it might be a version thing though...

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information